diff options
author | June McEnroe <june@causal.agency> | 2019-11-06 17:18:05 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-11-06 17:18:05 -0500 |
commit | d8cd384622fe8b00c7c257814cfcfec59d1e928e (patch) | |
tree | 9322caa699402b6f0dc92dcbd3c6fe444f248d1c /bounce.h | |
parent | Declare more missing functions and deal with lack of SO_NOSIGPIPE (diff) | |
download | pounce-d8cd384622fe8b00c7c257814cfcfec59d1e928e.tar.gz pounce-d8cd384622fe8b00c7c257814cfcfec59d1e928e.zip |
Use #defines for constant strings
GCC hates declaring static consts in headers and not using them, for some stupid reason.
Diffstat (limited to '')
-rw-r--r-- | bounce.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bounce.h b/bounce.h index 37cfc7c..08313d5 100644 --- a/bounce.h +++ b/bounce.h @@ -27,13 +27,13 @@ #define CERTBOT_PATH "/usr/local/etc/letsencrypt" #endif +#define SOURCE_URL "https://code.causal.agency/june/pounce" +#define ORIGIN "irc.invalid" + #define ARRAY_LEN(a) (sizeof(a) / sizeof(a[0])) typedef unsigned char byte; -static const char *SourceURL = "https://code.causal.agency/june/pounce"; -static const char *Origin = "irc.invalid"; - bool verbose; enum { ParamCap = 15 }; |