summaryrefslogtreecommitdiff
path: root/poll.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-02-29 15:47:16 -0500
committerNick Mathewson <nickm@torproject.org>2012-02-29 15:47:16 -0500
commit946b5841c22c4b050513ecf6d5a01bd521b05673 (patch)
tree8c0c4561d24b9457f66a16945642f77aaf625524 /poll.c
parentc7848fa019acda14c864a9db9632cfae6d7f5e33 (diff)
downloadlibevent-946b5841c22c4b050513ecf6d5a01bd521b05673.tar.gz
Clean up lingering _identifiers.
Diffstat (limited to 'poll.c')
-rw-r--r--poll.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/poll.c b/poll.c
index 13a9c674..744c7141 100644
--- a/poll.c
+++ b/poll.c
@@ -66,8 +66,8 @@ struct pollop {
};
static void *poll_init(struct event_base *);
-static int poll_add(struct event_base *, int, short old, short events, void *_idx);
-static int poll_del(struct event_base *, int, short old, short events, void *_idx);
+static int poll_add(struct event_base *, int, short old, short events, void *idx);
+static int poll_del(struct event_base *, int, short old, short events, void *idx);
static int poll_dispatch(struct event_base *, struct timeval *);
static void poll_dealloc(struct event_base *);
@@ -211,11 +211,11 @@ poll_dispatch(struct event_base *base, struct timeval *tv)
}
static int
-poll_add(struct event_base *base, int fd, short old, short events, void *_idx)
+poll_add(struct event_base *base, int fd, short old, short events, void *idx_)
{
struct pollop *pop = base->evbase;
struct pollfd *pfd = NULL;
- struct pollidx *idx = _idx;
+ struct pollidx *idx = idx_;
int i;
EVUTIL_ASSERT((events & EV_SIGNAL) == 0);
@@ -272,11 +272,11 @@ poll_add(struct event_base *base, int fd, short old, short events, void *_idx)
*/
static int
-poll_del(struct event_base *base, int fd, short old, short events, void *_idx)
+poll_del(struct event_base *base, int fd, short old, short events, void *idx_)
{
struct pollop *pop = base->evbase;
struct pollfd *pfd = NULL;
- struct pollidx *idx = _idx;
+ struct pollidx *idx = idx_;
int i;
EVUTIL_ASSERT((events & EV_SIGNAL) == 0);