X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-i-ring.c;h=c08a3ee9475bd02a4ee4f0040ccd2da8d1643633;hb=6184bd1482b08fb6e3076931b73cbf09639509bc;hp=a6aeb2b5b00d87dd8b4a79a7301c2baead667571;hpb=f5657ed3ea5a76c2535445f0bd5c7f0e86c27615;p=gnulib.git diff --git a/tests/test-i-ring.c b/tests/test-i-ring.c index a6aeb2b5b..c08a3ee94 100644 --- a/tests/test-i-ring.c +++ b/tests/test-i-ring.c @@ -1,5 +1,5 @@ /* Test the simple ring buffer. - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,13 +29,14 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ while (0) int -main () +main (void) { int o; I_ring ir;