* tests/test-i-ring.c: Work for C89.
author |
Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
date |
Mon, 22 Oct 2007 22:44:20 +0200 |
parents |
3a9abfe32c11 |
children |
b155c0436f27 |
files |
ChangeLog tests/test-i-ring.c |
diffstat |
2 files changed, 6 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * tests/test-i-ring.c: Work for C89.
+
2007-10-22 Bruno Haible <bruno@clisp.org>
* m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not
--- 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);