about summary refs log tree commit diff
path: root/elf/loadtest.c
diff options
context:
space:
mode:
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)
 {