diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-02-29 15:47:16 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-02-29 15:47:16 -0500 |
commit | 946b5841c22c4b050513ecf6d5a01bd521b05673 (patch) | |
tree | 8c0c4561d24b9457f66a16945642f77aaf625524 /win32select.c | |
parent | c7848fa019acda14c864a9db9632cfae6d7f5e33 (diff) | |
download | libevent-946b5841c22c4b050513ecf6d5a01bd521b05673.tar.gz |
Clean up lingering _identifiers.
Diffstat (limited to 'win32select.c')
-rw-r--r-- | win32select.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/win32select.c b/win32select.c index e545ee68..441222f1 100644 --- a/win32select.c +++ b/win32select.c @@ -80,8 +80,8 @@ struct win32op { }; static void *win32_init(struct event_base *); -static int win32_add(struct event_base *, evutil_socket_t, short old, short events, void *_idx); -static int win32_del(struct event_base *, evutil_socket_t, short old, short events, void *_idx); +static int win32_add(struct event_base *, evutil_socket_t, short old, short events, void *idx_); +static int win32_del(struct event_base *, evutil_socket_t, short old, short events, void *idx_); static int win32_dispatch(struct event_base *base, struct timeval *); static void win32_dealloc(struct event_base *); @@ -177,7 +177,7 @@ do_fd_clear(struct event_base *base, #define NEVENT 32 void * -win32_init(struct event_base *_base) +win32_init(struct event_base *base) { struct win32op *winop; size_t size; @@ -199,7 +199,7 @@ win32_init(struct event_base *_base) winop->readset_out->fd_count = winop->writeset_out->fd_count = winop->exset_out->fd_count = 0; - if (evsig_init_(_base) < 0) + if (evsig_init_(base) < 0) winop->signals_are_broken = 1; return (winop); @@ -215,10 +215,10 @@ win32_init(struct event_base *_base) int win32_add(struct event_base *base, evutil_socket_t fd, - short old, short events, void *_idx) + short old, short events, void *idx_) { struct win32op *win32op = base->evbase; - struct idx_info *idx = _idx; + struct idx_info *idx = idx_; if ((events & EV_SIGNAL) && win32op->signals_are_broken) return (-1); @@ -240,10 +240,10 @@ win32_add(struct event_base *base, evutil_socket_t fd, int win32_del(struct event_base *base, evutil_socket_t fd, short old, short events, - void *_idx) + void *idx_) { struct win32op *win32op = base->evbase; - struct idx_info *idx = _idx; + struct idx_info *idx = idx_; event_debug(("%s: Removing event for %d", __func__, fd)); if (events & EV_READ) @@ -357,11 +357,11 @@ win32_dispatch(struct event_base *base, struct timeval *tv) } void -win32_dealloc(struct event_base *_base) +win32_dealloc(struct event_base *base) { - struct win32op *win32op = _base->evbase; + struct win32op *win32op = base->evbase; - evsig_dealloc_(_base); + evsig_dealloc_(base); if (win32op->readset_in) mm_free(win32op->readset_in); if (win32op->writeset_in) |