From cf3141a59dc73a8082a701c8f16842adab4ab09a Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 5 Dec 2000 08:17:58 +0000 Subject: Update. 2000-12-05 Andreas Jaeger * nss/test-netdb.c: Mark local functions as static to avoid warnings. (main): Use return to silence warning. * stdlib/test-canon.c (check_path): Mark as static to avoid warning. * stdio-common/test-popen.c: Mark local functions as static to avoid warnings. (main): Use return to silence warning. * stdlib/testsort.c (compare): Mark as static to avoid warning. * assert/test-assert.c: Mark local functions as static to avoid warnings. * assert/test-assert-perr.c: Likewise. * math/libm-test.inc (main): Use return to silence warnings. --- math/libm-test.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'math/libm-test.inc') diff --git a/math/libm-test.inc b/math/libm-test.inc index 5ec089ccc0..e923795b90 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -4401,10 +4401,11 @@ main (int argc, char **argv) if (noErrors) { printf (" %d errors occured.\n", noErrors); - exit (1); + return 1; } printf (" All tests passed successfully.\n"); - exit (0); + + return 0; } /* -- cgit v1.2.3