summary refs log tree commit diff
path: root/elf/loadtest.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-26 06:18:02 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-26 06:18:02 +0000
commita850e77f3f10ce5cac3cc708274cc2a39360faa6 (patch)
treeab565114379f945b1ffd4ca6be73e25c670ff7ec /elf/loadtest.c
parent68784f809ae820107eb556ee4da46ae55af26e3f (diff)
downloadglibc-a850e77f3f10ce5cac3cc708274cc2a39360faa6.tar.gz
glibc-a850e77f3f10ce5cac3cc708274cc2a39360faa6.tar.xz
glibc-a850e77f3f10ce5cac3cc708274cc2a39360faa6.zip
Update.
	* 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.
Diffstat (limited to 'elf/loadtest.c')
-rw-r--r--elf/loadtest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/loadtest.c b/elf/loadtest.c
index 7cbe55bcd7..863dc536e7 100644
--- a/elf/loadtest.c
+++ b/elf/loadtest.c
@@ -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)
 {