]> sourceware.org Git - glibc.git/commitdiff
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 21eaa9bc9012e1b36a70a65637b6965f3eb2c012..4b06615451ebb208f9119df046e80ddeeb6fc345 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.  */
This page took 0.038478 seconds and 5 git commands to generate.