From d8cd384622fe8b00c7c257814cfcfec59d1e928e Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 6 Nov 2019 17:18:05 -0500 Subject: Use #defines for constant strings GCC hates declaring static consts in headers and not using them, for some stupid reason. --- bounce.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bounce.h') 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 }; -- cgit 1.4.1