diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-05 08:17:58 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-05 08:17:58 +0000 |
commit | cf3141a59dc73a8082a701c8f16842adab4ab09a (patch) | |
tree | 28baa08ec26885a2f67ceb400f16812d54f8570f /stdlib/testsort.c | |
parent | d6f1fe47aa10f51e7c630904e3605d0d04b43b42 (diff) | |
download | glibc-cf3141a59dc73a8082a701c8f16842adab4ab09a.tar glibc-cf3141a59dc73a8082a701c8f16842adab4ab09a.tar.gz glibc-cf3141a59dc73a8082a701c8f16842adab4ab09a.tar.bz2 glibc-cf3141a59dc73a8082a701c8f16842adab4ab09a.zip |
Update.
2000-12-05 Andreas Jaeger <aj@suse.de>
* 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.
Diffstat (limited to 'stdlib/testsort.c')
-rw-r--r-- | stdlib/testsort.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <string.h> #include <stdio.h> -int +static int compare (const void *a, const void *b) { return strcmp (*(char **) a, *(char **) b); |