diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-03-05 12:47:46 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-03-05 12:47:46 -0500 |
commit | c7cf6f004951615cf775431d4f47663a20f2db6e (patch) | |
tree | ca892f58ba9e0abfe54a3ff8f1becc1746e234aa /evmap-internal.h | |
parent | 38b7b571c81d1545bb4b6a1c5e4fd9e1bf0f542d (diff) | |
download | libevent-c7cf6f004951615cf775431d4f47663a20f2db6e.tar.gz |
Replace users of "int fd" with "evutil_socket_t fd" in portable code
Remeber, win32 has a socket type that's actually a handle, so if
there's a chance that code is run on win32, we can't use "int" as the
socket type.
This isn't a blind search-and-replace: sometimes an fd is really in
fact for a file, and not a socket at all.
Diffstat (limited to 'evmap-internal.h')
-rw-r--r-- | evmap-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/evmap-internal.h b/evmap-internal.h index a09c5909..8a67efac 100644 --- a/evmap-internal.h +++ b/evmap-internal.h @@ -77,7 +77,7 @@ void evmap_io_active(struct event_base *base, evutil_socket_t fd, short events); int evmap_signal_add(struct event_base *base, int signum, struct event *ev); int evmap_signal_del(struct event_base *base, int signum, struct event *ev); -void evmap_signal_active(struct event_base *base, int fd, int ncalls); +void evmap_signal_active(struct event_base *base, evutil_socket_t fd, int ncalls); void *evmap_io_get_fdinfo(struct event_io_map *ctx, evutil_socket_t fd); |