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. --- stdlib/test-canon.c | 2 +- stdlib/testsort.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib') diff --git a/stdlib/test-canon.c b/stdlib/test-canon.c index 2ece136435..596de7d488 100644 --- a/stdlib/test-canon.c +++ b/stdlib/test-canon.c @@ -93,7 +93,7 @@ struct { }; -int +static int check_path (const char * result, const char * expected) { int good; diff --git a/stdlib/testsort.c b/stdlib/testsort.c index a9a43c76ea..aa4332a568 100644 --- a/stdlib/testsort.c +++ b/stdlib/testsort.c @@ -2,7 +2,7 @@ #include #include -int +static int compare (const void *a, const void *b) { return strcmp (*(char **) a, *(char **) b); -- cgit v1.2.3