From 1a511d31055bb3fe7638b043d5c5c57d929c51cd Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 15 Dec 2000 16:03:57 +0000 Subject: Update. 2000-12-15 Andreas Jaeger * stdio-common/scanf9.c (main): Reformat and change to avoid warnings. * stdio-common/tstdiomisc.c: Make local functions static. * stdio-common/tst-printf.c: Likewise. * elf/constload2.c: Add prototype declarations to shut up gcc. * elf/dep1.c: Likewise. * elf/dep2.c: Likewise. * elf/dep3.c: Likewise. * elf/dep4.c: Likewise. * elf/ltglobmod2.c: Likewise. * libio/fmemopen.c: Make local functions static. * elf/Makefile (distribute): Added testobj.h. * elf/testobj.h: New file. * elf/testobj1.c: Include testobj.h and move prototype declarations to testobj.h. * elf/testobj2.c: Likewise. * elf/testobj3.c: Likewise. * elf/testobj4.c: Likewise. * elf/testobj5.c: Likewise. * elf/testobj6.c: Likewise. * elf/testobj1_1.c: Likewise. * elf/preloadtest.c: Likewise. --- stdio-common/tst-printf.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'stdio-common/tst-printf.c') diff --git a/stdio-common/tst-printf.c b/stdio-common/tst-printf.c index f0f0e55bc4..7a99efc6c9 100644 --- a/stdio-common/tst-printf.c +++ b/stdio-common/tst-printf.c @@ -28,11 +28,11 @@ #include -void rfg1 (void); -void rfg2 (void); +static void rfg1 (void); +static void rfg2 (void); -void +static void fmtchk (const char *fmt) { (void) fputs(fmt, stdout); @@ -41,7 +41,7 @@ fmtchk (const char *fmt) (void) printf("'\n"); } -void +static void fmtst1chk (const char *fmt) { (void) fputs(fmt, stdout); @@ -50,7 +50,7 @@ fmtst1chk (const char *fmt) (void) printf("'\n"); } -void +static void fmtst2chk (const char *fmt) { (void) fputs(fmt, stdout); @@ -82,7 +82,7 @@ fmtst2chk (const char *fmt) * This exercises the output formatting code. */ -void +static void fp_test (void) { int i, j, k, l; @@ -292,7 +292,7 @@ I am ready for my first lesson today."; return result != 0; } -void +static void rfg1 (void) { char buf[100]; @@ -317,7 +317,7 @@ rfg1 (void) printf ("got: '%s', expected: '%s'\n", buf, "3E+01"); } -void +static void rfg2 (void) { int prec; -- cgit v1.2.3