* elf/loadfail.c: Little cosmetic changes to avoid warnings.
	* elf/loadtest.c: Likewise.
	* elf/multiload.c: Likewise.
	* elf/next.c: Likewise.
	* elf/nodelete.c: Likewise.
	* elf/noload.c: Likewise.
	* elf/order.c: Likewise.
	* elf/origtest.c: Likewise.
	* elf/preloadtest.c: Likewise.
	* elf/restest1.c: Likewise.
This commit is contained in:
Ulrich Drepper 2000-11-26 06:18:02 +00:00
parent 68784f809a
commit a850e77f3f
11 changed files with 23 additions and 2 deletions

View File

@ -1,5 +1,16 @@
2000-11-25 Ulrich Drepper <drepper@redhat.com>
* elf/loadfail.c: Little cosmetic changes to avoid warnings.
* elf/loadtest.c: Likewise.
* elf/multiload.c: Likewise.
* elf/next.c: Likewise.
* elf/nodelete.c: Likewise.
* elf/noload.c: Likewise.
* elf/order.c: Likewise.
* elf/origtest.c: Likewise.
* elf/preloadtest.c: Likewise.
* elf/restest1.c: Likewise.
* sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
parameter of asm must be in %ecx.

View File

@ -34,6 +34,7 @@ main (void)
return h != NULL;
}
extern int foo (int a);
int
foo (int a)
{

View File

@ -146,7 +146,7 @@ main (int argc, char *argv[])
}
/* Unload all loaded modules. */
for (count = 0; count < NOBJS; ++count)
for (count = 0; count < (int) NOBJS; ++count)
if (testobjs[count].handle != NULL)
{
printf ("\nclose: %s: l_initfini = %p, l_versions = %p\n",
@ -174,6 +174,7 @@ main (int argc, char *argv[])
}
extern int foo (int a);
int
foo (int a)
{

View File

@ -97,6 +97,7 @@ main (void)
return 0;
}
extern int foo (int a);
int
foo (int a)
{

View File

@ -5,7 +5,7 @@ extern int successful_rtld_next_test (void);
extern void *failing_rtld_next_use (void);
int
static int
do_test (void)
{
int result;

View File

@ -11,6 +11,7 @@ int fini_ran;
static void
__attribute__ ((noreturn))
handler (int sig)
{
siglongjmp (jmpbuf, 1);

View File

@ -63,6 +63,7 @@ main (void)
}
extern int foo (int a);
int
foo (int a)
{

View File

@ -1,5 +1,6 @@
#include <unistd.h>
void init (void) __attribute__ ((constructor));
void
__attribute__ ((constructor))
init (void)
@ -7,6 +8,7 @@ init (void)
write (1, "4", 1);
}
void fini (void) __attribute__ ((destructor));
void
__attribute__ ((destructor))
fini (void)

View File

@ -31,6 +31,7 @@ main (void)
}
extern int foo (int a);
int
foo (int a)
{

View File

@ -12,6 +12,7 @@ main (void)
return res != 92;
}
extern int foo (int a);
int
foo (int a)
{

View File

@ -49,6 +49,7 @@ main (void)
}
extern int foo (int a);
int
foo (int a)
{