1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
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.
This commit is contained in:
Andreas Jaeger
2000-12-15 16:03:57 +00:00
parent 8ab5926a26
commit 1a511d3105
21 changed files with 113 additions and 37 deletions

View File

@@ -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;