From 9d1036ecf96152cab8184ea9a37beafc52a68316 Mon Sep 17 00:00:00 2001 From: "Todd T. Fries" Date: Wed, 19 Sep 2007 02:06:46 +0000 Subject: permit this to compile with gcc 2.x ok cloder@ --- regress/lib/libevent/eventtest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'regress') 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); -- cgit v1.2.3