summaryrefslogtreecommitdiff
path: root/poll.c
diff options
context:
space:
mode:
authorNiels Provos <provos@gmail.com>2003-03-01 20:31:28 +0000
committerNiels Provos <provos@gmail.com>2003-03-01 20:31:28 +0000
commite72dff13d9ecfee512aa03bfcbdba39ea84bde48 (patch)
tree047d09d408d6d04c7455b784a25ec1f564a74020 /poll.c
parent3c2916aa1318bfd9f5031ddd34f5fa3326d685da (diff)
downloadlibevent-e72dff13d9ecfee512aa03bfcbdba39ea84bde48.tar.gz
replace references to __FUNCTION__ with __func__
svn:r40
Diffstat (limited to 'poll.c')
-rw-r--r--poll.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/poll.c b/poll.c
index 95328907..36284059 100644
--- a/poll.c
+++ b/poll.c
@@ -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);