]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Avoid compile warning.
authorAndreas Jaeger <aj@suse.de>
Sat, 22 Sep 2001 15:44:07 +0000 (15:44 +0000)
committerAndreas Jaeger <aj@suse.de>
Sat, 22 Sep 2001 15:44:07 +0000 (15:44 +0000)
2001-09-22  Andreas Jaeger  <aj@suse.de>

* linuxthreads/tst-context.c: Avoid compile warning.

elf/reldep4.c
linuxthreads/ChangeLog
linuxthreads/tst-context.c

index e8ab6d23de3d0daefb7ccb17a27014953bbaf0ae..ba12e7d9c4dc31477e0906d5151423ee6702e548 100644 (file)
@@ -4,7 +4,7 @@
 #include <stdlib.h>
 
 int
-main()
+main (void)
 {
   int i;
   void *h1, *h2;
index aec226a2ae38a2a19b67fc107db5e61dba2b2f89..c8643088044534dc5b223c27512450e275124088 100644 (file)
@@ -1,3 +1,7 @@
+2001-09-22  Andreas Jaeger  <aj@suse.de>
+
+       * linuxthreads/tst-context.c: Avoid compile warning.
+
 2001-09-20  Andreas Jaeger  <aj@suse.de>
 
        * shlib-versions: Add x86-64.
index c72b2ac101676d8ca7fa1c872f2b467b108f4482..9066e837e243ad1762310cac3146cfcf2e182d06 100644 (file)
@@ -56,7 +56,9 @@ threadfct (void *arg)
 #endif
 
 
+#ifdef FLOATING_STACKS
 static volatile int global;
+#endif
 
 int
 main (void)