2004-04-01 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Fri, 2 Apr 2004 02:23:05 +0000 (02:23 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 2 Apr 2004 02:23:05 +0000 (02:23 +0000)
* elf/tst-execstack.c (do_test): Make F static.

elf/tst-execstack.c

index 21eaa9b..4b06615 100644 (file)
@@ -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.  */