diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-26 19:18:49 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-26 19:18:49 +0000 |
commit | ce4ee418d2fffd0a5ce7208e35a19a2fc7205826 (patch) | |
tree | 59c3f19617ba51f05ca4009f5d455e169a4fb896 /test/test-time.c | |
parent | 1120f04f3eaafe98259ef286eecb648337b2214f (diff) | |
download | libevent-ce4ee418d2fffd0a5ce7208e35a19a2fc7205826.tar.gz |
r16733@catbus: nickm | 2007-11-26 14:18:25 -0500
Add an --enable-gcc-warnings option (lifted from Tor) to the configure script. When provided, and when we are using GCC, we enable a bunch of extra GCC warnings in the compiler. Also, make the code all build happily with these warnings.
svn:r553
Diffstat (limited to 'test/test-time.c')
-rw-r--r-- | test/test-time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-time.c b/test/test-time.c index 901b39a4..a847d55e 100644 --- a/test/test-time.c +++ b/test/test-time.c @@ -25,7 +25,7 @@ int called = 0; struct event *ev[NEVENT]; -int +static int rand_int(int n) { #ifdef WIN32 @@ -35,7 +35,7 @@ rand_int(int n) #endif } -void +static void time_cb(int fd, short event, void *arg) { struct timeval tv; |