Fix compilation.

This commit is contained in:
2016-02-26 23:26:22 +01:00
parent 737ecc15d0
commit 7eac5c920a
4 changed files with 179 additions and 4 deletions

View File

@@ -53,12 +53,12 @@ static __thread struct uloop_fd_stack *fd_stack = NULL;
#define ULOOP_MAX_EVENTS 10
static __thread struct list_head timeouts = LIST_HEAD_INIT(timeouts);
static __thread struct list_head processes = LIST_HEAD_INIT(processes);
static struct list_head timeouts = LIST_HEAD_INIT(timeouts);
static struct list_head processes = LIST_HEAD_INIT(processes);
static __thread int poll_fd = -1;
__thread bool uloop_cancelled = false;
__thread static bool do_sigchld = false;
static __thread bool do_sigchld = false;
static __thread struct uloop_fd_event cur_fds[ULOOP_MAX_EVENTS];
static __thread int cur_fd, cur_nfds;