Cygwin: fix GCC 8.3 'local external declaration' errors
Move external declarations out of function definition.
This commit is contained in:
parent
81421eda7d
commit
3a956a9bc3
|
@ -275,13 +275,12 @@ public:
|
|||
};
|
||||
|
||||
static msleep_sync_array *msleep_sync;
|
||||
extern struct msginfo msginfo;
|
||||
extern struct seminfo seminfo;
|
||||
|
||||
void
|
||||
msleep_init (void)
|
||||
{
|
||||
extern struct msginfo msginfo;
|
||||
extern struct seminfo seminfo;
|
||||
|
||||
msleep_glob_evt = CreateEvent (NULL, TRUE, FALSE, NULL);
|
||||
if (!msleep_glob_evt)
|
||||
panic ("CreateEvent in msleep_init failed: %u", GetLastError ());
|
||||
|
|
Loading…
Reference in New Issue