uloop: use a waker for notifying sigchld and loop cancel events
[project/libubox.git] / uloop-epoll.c
index bb652fd3444aebc0a916cb411a915c482df02826..6014bea8cc51e93c236d8ddc1b3c0e83aa94384a 100644 (file)
@@ -23,7 +23,7 @@
 #define EPOLLRDHUP 0x2000
 #endif
 
-int uloop_init(void)
+static int uloop_init_pollfd(void)
 {
        if (poll_fd >= 0)
                return 0;