explicitly define extern globals

master
leitner 21 years ago
parent 78d181cb3e
commit 076a8f4628

@ -24,6 +24,24 @@
#include <sys/devpoll.h>
#endif
#ifdef __MINGW32__
extern HANDLE io_comport;
#endif
array io_fds;
uint64 io_wanted_fds;
array io_pollfds;
enum __io_waitmode io_waitmode;
#if defined(HAVE_KQUEUE) || defined(HAVE_EPOLL) || defined(HAVE_DEVPOLL)
int io_master;
#endif
#if defined(HAVE_SIGIO)
int io_signum;
sigset_t io_ss;
long alt_firstread;
long alt_firstwrite;
#endif
/* put d on internal data structure, return 1 on success, 0 on error */
int io_fd(int64 d) {
io_entry* e;

@ -41,7 +41,7 @@ extern array io_pollfds;
extern long first_readable;
extern long first_writeable;
extern enum {
extern enum __io_waitmode {
UNDECIDED,
POLL
#ifdef HAVE_KQUEUE

Loading…
Cancel
Save