From: Ralf Wildenhues Date: Mon, 22 Oct 2007 20:44:20 +0000 (+0200) Subject: * tests/test-i-ring.c: Work for C89. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5657ed3ea5a76c2535445f0bd5c7f0e86c27615;p=pspp * tests/test-i-ring.c: Work for C89. --- diff --git a/ChangeLog b/ChangeLog index c15c015ac2..2bca463618 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-10-22 Ralf Wildenhues + + * tests/test-i-ring.c: Work for C89. + 2007-10-22 Bruno Haible * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not diff --git a/tests/test-i-ring.c b/tests/test-i-ring.c index 0e0691af3b..a6aeb2b5b0 100644 --- a/tests/test-i-ring.c +++ b/tests/test-i-ring.c @@ -37,9 +37,10 @@ int main () { + int o; I_ring ir; i_ring_init (&ir, -1); - int o = i_ring_push (&ir, 1); + o = i_ring_push (&ir, 1); ASSERT (o == -1); o = i_ring_push (&ir, 2); ASSERT (o == -1);