summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-05-07 16:47:40 -0700
committerJune McEnroe <june@causal.agency>2020-05-07 20:00:33 -0400
commitbde0f47a70f71c86d90a0baadcfa8dc33a8fa4d2 (patch)
tree7157919ef3196b8d9e94a49828943ce891c5c9c2
parentUpdate email addresses (diff)
downloadcatgirl-bde0f47a70f71c86d90a0baadcfa8dc33a8fa4d2.tar.gz
catgirl-bde0f47a70f71c86d90a0baadcfa8dc33a8fa4d2.zip
Mark global variables in chat.h as extern
This fixes the build with gcc 10, which enables -fno-common by
default.
Diffstat (limited to '')
-rw-r--r--chat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chat.h b/chat.h
index e0266ef..5307f8b 100644
--- a/chat.h
+++ b/chat.h
@@ -162,9 +162,9 @@ void ircFormat(const char *format, ...)
 	__attribute__((format(printf, 1, 2)));
 void ircClose(void);
 
-uint execID;
-int execPipe[2];
-int utilPipe[2];
+extern uint execID;
+extern int execPipe[2];
+extern int utilPipe[2];
 
 enum { UtilCap = 16 };
 struct Util {
5a661e3d0c8a0e1f605b43be6c1390392c20&follow=1'>Specify precedence of unary versions of operatorsJune McEnroe 2019-05-18Add compound assignment operators to orderJune McEnroe 2019-05-15Support simple assignment in orderJune McEnroe 2019-05-15Implement sizeof in orderJune McEnroe 2019-05-15Add orderJune McEnroe 2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe