]> granicus.if.org Git - libevent/commitdiff
r14505@catbus: nickm | 2007-08-10 12:35:52 -0400
authorNick Mathewson <nickm@torproject.org>
Fri, 10 Aug 2007 16:37:33 +0000 (16:37 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 10 Aug 2007 16:37:33 +0000 (16:37 +0000)
 Fix win32 build errors (reported by Phobos): mingw gcc seems to dislike unnamed function parameters.

svn:r390

WIN32-Code/win32.c

index c051c9432dccddabe43dc2d60c6f90918385084f..44be2bceae5b024cb5cf0207f0a924cb30a72e12 100644 (file)
@@ -167,7 +167,7 @@ do_fd_clear(struct win32op *op, SOCKET s, int read)
 
 #define NEVENT 64
 void *
-win32_init(struct event_base *)
+win32_init(struct event_base *_base)
 {
        struct win32op *winop;
        size_t size;
@@ -376,7 +376,7 @@ win32_dispatch(struct event_base *base, void *op,
 }
 
 void
-win32_dealloc(struct event_base *, void *arg)
+win32_dealloc(struct event_base *_base, void *arg)
 {
        struct win32op *win32op = arg;