about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-04-02 02:23:05 +0000
committerRoland McGrath <roland@gnu.org>2004-04-02 02:23:05 +0000
commit26e059c142504b22fe99e41e15c7ce626cac6df6 (patch)
tree278568021c37da0545838760012d3598f95acb4a
parent15a33409206c926f48da017bae9ac5f01959a3bc (diff)
downloadglibc-26e059c142504b22fe99e41e15c7ce626cac6df6.tar.gz
glibc-26e059c142504b22fe99e41e15c7ce626cac6df6.tar.xz
glibc-26e059c142504b22fe99e41e15c7ce626cac6df6.zip
2004-04-01 Roland McGrath <roland@redhat.com>
	* elf/tst-execstack.c (do_test): Make F static.
-rw-r--r--elf/tst-execstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-execstack.c b/elf/tst-execstack.c
index 21eaa9bc90..4b06615451 100644
--- a/elf/tst-execstack.c
+++ b/elf/tst-execstack.c
@@ -48,7 +48,7 @@ waiter_thread (void *arg)
 static int
 do_test (void)
 {
-  void *f;
+  static void *f;		/* Address of this is used in other threads. */
 
 #if USE_PTHREADS
   /* Create some threads while stacks are nonexecutable.  */