Module Name:    src
Committed By:   joerg
Date:           Thu Nov 17 16:39:12 UTC 2011

Modified Files:
        src/tests/lib/libc/tls/dso: h_tls_dlopen.c

Log Message:
Reorder to make GCC happy.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/tls/dso/h_tls_dlopen.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/tls/dso/h_tls_dlopen.c
diff -u src/tests/lib/libc/tls/dso/h_tls_dlopen.c:1.2 src/tests/lib/libc/tls/dso/h_tls_dlopen.c:1.3
--- src/tests/lib/libc/tls/dso/h_tls_dlopen.c:1.2	Thu Nov 17 16:20:11 2011
+++ src/tests/lib/libc/tls/dso/h_tls_dlopen.c	Thu Nov 17 16:39:11 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: h_tls_dlopen.c,v 1.2 2011/11/17 16:20:11 joerg Exp $	*/
+/*	$NetBSD: h_tls_dlopen.c,v 1.3 2011/11/17 16:39:11 joerg Exp $	*/
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: h_tls_dlopen.c,v 1.2 2011/11/17 16:20:11 joerg Exp $");
+__RCSID("$NetBSD: h_tls_dlopen.c,v 1.3 2011/11/17 16:39:11 joerg Exp $");
 
 #include <atf-c.h>
 #include <unistd.h>
@@ -45,7 +45,7 @@ __RCSID("$NetBSD: h_tls_dlopen.c,v 1.2 2
 extern __thread int var1;
 extern __thread int var2;
 extern __thread int *var3;
-__thread static pid_t (*local_var)(void) = getpid;
+static __thread pid_t (*local_var)(void) = getpid;
 
 void testf_dso_helper(int x, int y);
 

Reply via email to