diff --git a/lib/poller.c b/lib/poller.c index 1b0b44f88..f6f767a6a 100644 --- a/lib/poller.c +++ b/lib/poller.c @@ -271,7 +271,7 @@ int poller_update_item(struct poller *p, struct poller_item *i) { } -int poller_poll(struct poller *p, int timeout) { +static int poller_poll(struct poller *p, int timeout) { int ret, i; struct poller_item_int *it; struct epoll_event evs[128], *ev, e; diff --git a/lib/poller.h b/lib/poller.h index 26de0ab48..2bdef791d 100644 --- a/lib/poller.h +++ b/lib/poller.h @@ -42,7 +42,6 @@ void poller_blocked(struct poller *, void *); int poller_isblocked(struct poller *, void *); void poller_error(struct poller *, void *); -int poller_poll(struct poller *, int); void poller_loop(void *); void poller_loop2(void *);