X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/deff62d26ff4c1324816c04c0c6db1e4db435870..69799d7a176d30624a5499b13ceff8687143f1b1:/ev.h?ds=sidebyside diff --git a/ev.h b/ev.h index 08b5963..aa746a5 100644 --- a/ev.h +++ b/ev.h @@ -100,7 +100,7 @@ struct ev_loop; int pending; /* private */ \ int priority; /* private */ \ EV_COMMON; /* rw */ \ - void (*cb)(EV_P_ struct type *, int revents); /* private */ /* gets invoked with an eventmask */ + void (*cb)(EV_P_ struct type *, int revents) /* private */ /* gets invoked with an eventmask */ #define EV_WATCHER_LIST(type) \ EV_WATCHER (type); \ @@ -158,9 +158,6 @@ struct ev_io struct ev_signal { EV_WATCHER_LIST (ev_signal); -#if EV_MULTIPLICITY - struct ev_loop *loop; -#endif int signum; /* ro */ }; @@ -241,7 +238,7 @@ void ev_set_allocator (void *(*cb)(void *ptr, long size)); * retryable syscall error * (such as failed select, poll, epoll_wait) */ -void ev_set_syserr_cb (void (*cb)(void)); +void ev_set_syserr_cb (void (*cb)(const char *msg)); # if EV_MULTIPLICITY /* the default loop is the only one that handles signals and child watchers */