bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make tests/test-i-ring.c C89 compliant


From: Ralf Wildenhues
Subject: make tests/test-i-ring.c C89 compliant
Date: Mon, 22 Oct 2007 22:16:24 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Jim, all,

OK to apply?

Cheers,
Ralf

2007-10-22  Ralf Wildenhues  <address@hidden>

        * tests/test-i-ring.c: Work for C89.

diff --git a/tests/test-i-ring.c b/tests/test-i-ring.c
index 0e0691a..a6aeb2b 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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]