Mark global variables in chat.h as extern

This fixes the build with gcc 10, which enables -fno-common by
default.
master
Michael Forney 2020-05-07 16:47:40 -07:00 committed by C. McEnroe
parent f36b0dbd81
commit bde0f47a70
1 changed files with 3 additions and 3 deletions

6
chat.h
View File

@ -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 {