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.
}
/* 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",
}
+extern int foo (int a);
int
foo (int a)
{
#include <unistd.h>
+void init (void) __attribute__ ((constructor));
void
__attribute__ ((constructor))
init (void)
write (1, "4", 1);
}
+void fini (void) __attribute__ ((destructor));
void
__attribute__ ((destructor))
fini (void)