diff options
author | Niels Provos <provos@gmail.com> | 2003-03-01 20:31:28 +0000 |
---|---|---|
committer | Niels Provos <provos@gmail.com> | 2003-03-01 20:31:28 +0000 |
commit | e72dff13d9ecfee512aa03bfcbdba39ea84bde48 (patch) | |
tree | 047d09d408d6d04c7455b784a25ec1f564a74020 /poll.c | |
parent | 3c2916aa1318bfd9f5031ddd34f5fa3326d685da (diff) | |
download | libevent-e72dff13d9ecfee512aa03bfcbdba39ea84bde48.tar.gz |
replace references to __FUNCTION__ with __func__
svn:r40
Diffstat (limited to 'poll.c')
-rw-r--r-- | poll.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -122,7 +122,7 @@ int poll_dispatch(void *arg, struct timeval *tv) { int res, i, count, sec, nfds; - struct event *ev, *next; + struct event *ev; struct pollop *pop = arg; count = pop->event_count; @@ -192,8 +192,7 @@ poll_dispatch(void *arg, struct timeval *tv) } else if (evsignal_caught) evsignal_process(); - LOG_DBG((LOG_MISC, 80, __FUNCTION__": poll reports %d", - res)); + LOG_DBG((LOG_MISC, 80, "%s: poll reports %d", __func__, res)); if (res == 0) return (0); @@ -240,8 +239,6 @@ poll_del(void *arg, struct event *ev) { struct pollop *pop = arg; - int signal; - if (!(ev->ev_events & EV_SIGNAL)) return (0); |