diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2007-09-19 02:06:46 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2007-09-19 02:06:46 +0000 |
commit | 9d1036ecf96152cab8184ea9a37beafc52a68316 (patch) | |
tree | 34ee8655911e5394cc6a879e44ef6412a99885bd /regress/lib/libevent | |
parent | 60a50c17457081b214d0e67ae4d197348e65b44b (diff) |
permit this to compile with gcc 2.x
ok cloder@
Diffstat (limited to 'regress/lib/libevent')
-rw-r--r-- | regress/lib/libevent/eventtest.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/lib/libevent/eventtest.c b/regress/lib/libevent/eventtest.c index a6a3b7c8aef..862c2734e7d 100644 --- a/regress/lib/libevent/eventtest.c +++ b/regress/lib/libevent/eventtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eventtest.c,v 1.9 2006/01/23 20:19:34 brad Exp $ */ +/* $OpenBSD: eventtest.c,v 1.10 2007/09/19 02:06:45 todd Exp $ */ /* $NetBSD: eventtest.c,v 1.3 2004/08/07 21:09:47 provos Exp $ */ /* @@ -461,9 +461,10 @@ test_loopexit(void) void test_evbuffer(void) { + struct evbuffer *evb; setup_test("Evbuffer: "); - struct evbuffer *evb = evbuffer_new(); + evb = evbuffer_new(); evbuffer_add_printf(evb, "%s/%d", "hello", 1); |