Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/tls/dso Reorder to make GCC happy.



details:   https://anonhg.NetBSD.org/src/rev/0bb983c9f620
branches:  trunk
changeset: 771268:0bb983c9f620
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Nov 17 16:39:11 2011 +0000

description:
Reorder to make GCC happy.

diffstat:

 tests/lib/libc/tls/dso/h_tls_dlopen.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1357a0f6fb67 -r 0bb983c9f620 tests/lib/libc/tls/dso/h_tls_dlopen.c
--- a/tests/lib/libc/tls/dso/h_tls_dlopen.c     Thu Nov 17 16:20:47 2011 +0000
+++ b/tests/lib/libc/tls/dso/h_tls_dlopen.c     Thu Nov 17 16:39:11 2011 +0000
@@ -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 @@
 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);
 



Home | Main Index | Thread Index | Old Index