X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/485804e1eaa0580124a1c94123822912811eaf88..99c0baac0b99f53c7a0bb4a0c5a8a10e8b97605f:/ev.h?ds=sidebyside diff --git a/ev.h b/ev.h index af6c2da..384df3e 100644 --- a/ev.h +++ b/ev.h @@ -241,7 +241,7 @@ union ev_any_watcher #define EVMETHOD_EPOLL 0x00000004 /* linux */ #define EVMETHOD_KQUEUE 0x00000008 /* bsd */ #define EVMETHOD_DEVPOLL 0x00000010 /* solaris 8 */ /* NYI */ -#define EVMETHOD_PORT 0x00000020 /* solaris 10 */ /* NYI */ +#define EVMETHOD_PORT 0x00000020 /* solaris 10 */ /* flag bits */ #define EVFLAG_NOENV 0x01000000 /* do NOT consult environment */ @@ -273,10 +273,10 @@ static struct ev_loop * ev_default_loop (unsigned int flags) { extern struct ev_loop *ev_default_loop_ptr; - extern struct ev_loop *ev_default_loop_ (unsigned int flags); + extern struct ev_loop *ev_default_loop_init (unsigned int flags); if (!ev_default_loop_ptr) - ev_default_loop_ (flags); + ev_default_loop_init (flags); return ev_default_loop_ptr; }