about summary refs log tree commit diff
path: root/linuxthreads/tst-context.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-09-22 15:44:07 +0000
committerAndreas Jaeger <aj@suse.de>2001-09-22 15:44:07 +0000
commit2be2ce5f7ef7a9907cc0d3475ec0377b3ae77412 (patch)
treec39489634be1ccf38ec93d8c428f502108462c9d /linuxthreads/tst-context.c
parent8101ca20f998f1c513fe8a4ca4ac7fd2dedaedd7 (diff)
downloadglibc-2be2ce5f7ef7a9907cc0d3475ec0377b3ae77412.tar.gz
glibc-2be2ce5f7ef7a9907cc0d3475ec0377b3ae77412.tar.xz
glibc-2be2ce5f7ef7a9907cc0d3475ec0377b3ae77412.zip
Avoid compile warning.
2001-09-22  Andreas Jaeger  <aj@suse.de>

	* linuxthreads/tst-context.c: Avoid compile warning.
Diffstat (limited to 'linuxthreads/tst-context.c')
-rw-r--r--linuxthreads/tst-context.c2
1 files changed, 2 insertions, 0 deletions
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)