summaryrefslogtreecommitdiff
path: root/stdio-common/tst-printf.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-15 16:03:57 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-15 16:03:57 +0000
commit1a511d31055bb3fe7638b043d5c5c57d929c51cd (patch)
treecb2307942b7ef0ca15763b48ef40911198903523 /stdio-common/tst-printf.c
parent8ab5926a261825b43c8ce82b4c64541448b73869 (diff)
Update.
2000-12-15 Andreas Jaeger <aj@suse.de> * 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.
Diffstat (limited to 'stdio-common/tst-printf.c')
-rw-r--r--stdio-common/tst-printf.c16
1 files changed, 8 insertions, 8 deletions
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 <float.h>
-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;