summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-06 17:18:05 -0500
committerJune McEnroe <june@causal.agency>2019-11-06 17:18:05 -0500
commitd8cd384622fe8b00c7c257814cfcfec59d1e928e (patch)
tree9322caa699402b6f0dc92dcbd3c6fe444f248d1c /bounce.h
parentDeclare more missing functions and deal with lack of SO_NOSIGPIPE (diff)
downloadpounce-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 'bounce.h')
-rw-r--r--bounce.h6
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 };