summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/tst-context.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index aec226a2ae..c864308804 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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.
diff --git a/linuxthreads/tst-context.c b/linuxthreads/tst-context.c
index c72b2ac101..9066e837e2 100644
--- a/linuxthreads/tst-context.c
+++ b/linuxthreads/tst-context.c
@@ -56,7 +56,9 @@ threadfct (void *arg)
 #endif
 
 
+#ifdef FLOATING_STACKS
 static volatile int global;
+#endif
 
 int
 main (void)