1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
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:
Andreas Jaeger
2000-12-05 08:17:58 +00:00
parent d6f1fe47aa
commit cf3141a59d
7 changed files with 37 additions and 16 deletions

View File

@ -14,7 +14,7 @@
jmp_buf rec;
char buf[160];
void
static void
sigabrt (int unused)
{
longjmp (rec, 1); /* recover control */
@ -22,13 +22,13 @@ sigabrt (int unused)
#undef NDEBUG
#include <assert.h>
void
static void
assert1 (void)
{
assert (1 == 2);
}
void
static void
assert2 (void)
{
assert (1 == 1);
@ -37,7 +37,7 @@ assert2 (void)
#define NDEBUG
#include <assert.h>
void
static void
assert3 (void)
{
assert (2 == 3);