This commit is contained in:
Felix von Leitner 2009-04-30 18:11:08 +00:00
parent a22dbda5f7
commit 4311b12786
1 changed files with 11 additions and 12 deletions

View File

@ -1,7 +1,6 @@
#ifndef my_extern
#define my_extern extern
#undef my_extern
#include "io.h"
#include "array.h"
@ -51,14 +50,14 @@ typedef struct {
} io_entry;
extern array io_fds;
extern uint64 io_wanted_fds;
extern array io_pollfds;
my_extern array io_fds;
my_extern uint64 io_wanted_fds;
my_extern array io_pollfds;
extern long first_readable;
extern long first_writeable;
my_extern long first_readable;
my_extern long first_writeable;
extern enum __io_waitmode {
my_extern enum __io_waitmode {
@ -79,14 +78,14 @@ extern enum __io_waitmode {
} io_waitmode;
#if defined(HAVE_KQUEUE) || defined(HAVE_EPOLL) || defined(HAVE_DEVPOLL)
extern int io_master;
my_extern int io_master;
#if defined(HAVE_SIGIO)
extern int io_signum;
extern sigset_t io_ss;
my_extern int io_signum;
my_extern sigset_t io_ss;
extern long alt_firstread;
extern long alt_firstwrite;
my_extern long alt_firstread;
my_extern long alt_firstwrite;
int64 io_waituntil2(int64 milliseconds);