]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 26 Nov 2000 06:18:02 +0000 (06:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 26 Nov 2000 06:18:02 +0000 (06:18 +0000)
* 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.

ChangeLog
elf/loadfail.c
elf/loadtest.c
elf/multiload.c
elf/next.c
elf/nodelete.c
elf/noload.c
elf/order.c
elf/origtest.c
elf/preloadtest.c
elf/restest1.c

index 4561f473a7ae0268659e54ec9afa873fc5857c62..edf418150409ae9a1d4fd526789c7bd9ac5d76ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
index e423356348796f13b533e5ff5e86e640e373378d..7531aa958e7fb3c16f3e9fc0e296bc43033e8724 100644 (file)
@@ -34,6 +34,7 @@ main (void)
   return h != NULL;
 }
 
+extern int foo (int a);
 int
 foo (int a)
 {
index 7cbe55bcd78767f59f065676f11213df64d27947..863dc536e7adc93ff195bd864757c46857ea65fa 100644 (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)
 {
index 3727d97f6a7cd4527d1ef8c487c926b95c182c02..e85cc96589064c31d3df926914fac06d58e29e63 100644 (file)
@@ -97,6 +97,7 @@ main (void)
   return 0;
 }
 
+extern int foo (int a);
 int
 foo (int a)
 {
index a7ca2bdbc27696a59c69ca3ba6c63c23b6250382..6a3670c2148b685d2cddf83701d688c6eb0ad95d 100644 (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;
index bf1f0d929190a5ae30c690e305b389a4ed95a1c0..78364a278a688a49f5fd0b5ce58854bfc8cb19d1 100644 (file)
@@ -11,6 +11,7 @@ int fini_ran;
 
 
 static void
+__attribute__ ((noreturn))
 handler (int sig)
 {
   siglongjmp (jmpbuf, 1);
index 826427f4bd1f779c953525dc23501624e06283f4..9281ec714c84b5e07dfce948280f5e2793064de5 100644 (file)
@@ -63,6 +63,7 @@ main (void)
 }
 
 
+extern int foo (int a);
 int
 foo (int a)
 {
index 4544591c5067aa0ef7489fb4dee1e37d644ff3ac..ca617cbc0905c0644c19cb21166230a7718be335 100644 (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)
index 11bd0f76cfe81f004959fe847fc4c741df1f8b82..1cacabcc39e9f1b51e52a3f38a974e8f56dc23d3 100644 (file)
@@ -31,6 +31,7 @@ main (void)
 }
 
 
+extern int foo (int a);
 int
 foo (int a)
 {
index ac27f6715065460c8456a2552cfcb8d834760185..9edc87a7bcf78de7a20227aada6225193f2525e9 100644 (file)
@@ -12,6 +12,7 @@ main (void)
   return res != 92;
 }
 
+extern int foo (int a);
 int
 foo (int a)
 {
index 2b649c00d2ab4422699499cc3003a76f2c748c9e..eb5aeca59ead015627386e055f218dad36cdb143 100644 (file)
@@ -49,6 +49,7 @@ main (void)
 }
 
 
+extern int foo (int a);
 int
 foo (int a)
 {