X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-fpurge.c;h=2197b89df65746d94f18b2960cfcbd1b302c4a8a;hb=1697fcca5dcb036ef6647969cbbaad907d16479c;hp=13388ec391dce53b995cc4abc96b426ca2702220;hpb=c66e4f69b6e4a1058ce10b236af1b80591a63931;p=gnulib.git diff --git a/tests/test-fpurge.c b/tests/test-fpurge.c index 13388ec39..2197b89df 100644 --- a/tests/test-fpurge.c +++ b/tests/test-fpurge.c @@ -23,6 +23,12 @@ #include #include +/* None of the files accessed by this test are large, so disable the + fseek link warning if we are not using the gnulib fseek module. */ +#if !GNULIB_FSEEK +# undef fseek +#endif + #define ASSERT(expr) \ do \ { \ @@ -38,7 +44,7 @@ #define TESTFILE "t-fpurge.tmp" int -main () +main (void) { int check_filepos;