Mark global variables in chat.h as extern
This fixes the build with gcc 10, which enables -fno-common by default.master
parent
f36b0dbd81
commit
bde0f47a70
6
chat.h
6
chat.h
|
@ -162,9 +162,9 @@ void ircFormat(const char *format, ...)
|
||||||
__attribute__((format(printf, 1, 2)));
|
__attribute__((format(printf, 1, 2)));
|
||||||
void ircClose(void);
|
void ircClose(void);
|
||||||
|
|
||||||
uint execID;
|
extern uint execID;
|
||||||
int execPipe[2];
|
extern int execPipe[2];
|
||||||
int utilPipe[2];
|
extern int utilPipe[2];
|
||||||
|
|
||||||
enum { UtilCap = 16 };
|
enum { UtilCap = 16 };
|
||||||
struct Util {
|
struct Util {
|
||||||
|
|
Loading…
Reference in New Issue