mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
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.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void
|
||||
static void
|
||||
write_data (FILE *stream)
|
||||
{
|
||||
int i;
|
||||
@@ -33,7 +33,7 @@ write_data (FILE *stream)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
read_data (FILE *stream)
|
||||
{
|
||||
int i, j;
|
||||
@@ -99,5 +99,5 @@ main (void)
|
||||
}
|
||||
|
||||
puts (wstatus | rstatus ? "Test FAILED!" : "Test succeeded.");
|
||||
exit (wstatus | rstatus);
|
||||
return (wstatus | rstatus);
|
||||
}
|
||||
|
Reference in New Issue
Block a user