Date: Sun, 12 Oct 2014 10:05:00 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r272979 - in head/contrib/netbsd-tests/lib/libc: tls tls/dso tls_dso Message-ID: <201410121005.s9CA50pD055376@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sun Oct 12 10:04:59 2014 New Revision: 272979 URL: https://svnweb.freebsd.org/changeset/base/272979 Log: Only #include <sys/tls.h> on NetBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/tls/dso/h_tls_dlopen.c head/contrib/netbsd-tests/lib/libc/tls/t_tls_dlopen.c head/contrib/netbsd-tests/lib/libc/tls/t_tls_dynamic.c head/contrib/netbsd-tests/lib/libc/tls/t_tls_static.c head/contrib/netbsd-tests/lib/libc/tls/t_tls_static_helper.c head/contrib/netbsd-tests/lib/libc/tls_dso/h_tls_dynamic.c Modified: head/contrib/netbsd-tests/lib/libc/tls/dso/h_tls_dlopen.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/tls/dso/h_tls_dlopen.c Sun Oct 12 06:55:34 2014 (r272978) +++ head/contrib/netbsd-tests/lib/libc/tls/dso/h_tls_dlopen.c Sun Oct 12 10:04:59 2014 (r272979) @@ -36,7 +36,9 @@ __RCSID("$NetBSD: h_tls_dlopen.c,v 1.5 2 #include <atf-c.h> #include <unistd.h> +#if defined(__NetBSD__) #include <sys/tls.h> +#endif #ifdef __HAVE_NO___THREAD #define __thread Modified: head/contrib/netbsd-tests/lib/libc/tls/t_tls_dlopen.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/tls/t_tls_dlopen.c Sun Oct 12 06:55:34 2014 (r272978) +++ head/contrib/netbsd-tests/lib/libc/tls/t_tls_dlopen.c Sun Oct 12 10:04:59 2014 (r272979) @@ -39,7 +39,9 @@ __RCSID("$NetBSD: t_tls_dlopen.c,v 1.3 2 #include <pthread.h> #include <unistd.h> +#if defined(__NetBSD__) #include <sys/tls.h> +#endif #ifdef __HAVE_NO___THREAD #define __thread Modified: head/contrib/netbsd-tests/lib/libc/tls/t_tls_dynamic.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/tls/t_tls_dynamic.c Sun Oct 12 06:55:34 2014 (r272978) +++ head/contrib/netbsd-tests/lib/libc/tls/t_tls_dynamic.c Sun Oct 12 10:04:59 2014 (r272979) @@ -38,7 +38,9 @@ __RCSID("$NetBSD: t_tls_dynamic.c,v 1.3 #include <pthread.h> #include <unistd.h> +#if defined(__NetBSD__) #include <sys/tls.h> +#endif #ifdef __HAVE_NO___THREAD #define __thread Modified: head/contrib/netbsd-tests/lib/libc/tls/t_tls_static.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/tls/t_tls_static.c Sun Oct 12 06:55:34 2014 (r272978) +++ head/contrib/netbsd-tests/lib/libc/tls/t_tls_static.c Sun Oct 12 10:04:59 2014 (r272979) @@ -37,7 +37,9 @@ __RCSID("$NetBSD: t_tls_static.c,v 1.2 2 #include <atf-c.h> #include <pthread.h> +#if defined(__NetBSD__) #include <sys/tls.h> +#endif #ifdef __HAVE_NO___THREAD #define __thread Modified: head/contrib/netbsd-tests/lib/libc/tls/t_tls_static_helper.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/tls/t_tls_static_helper.c Sun Oct 12 06:55:34 2014 (r272978) +++ head/contrib/netbsd-tests/lib/libc/tls/t_tls_static_helper.c Sun Oct 12 10:04:59 2014 (r272979) @@ -34,7 +34,9 @@ #include <sys/cdefs.h> __RCSID("$NetBSD: t_tls_static_helper.c,v 1.2 2012/01/17 20:34:57 joerg Exp $"); +#if defined(__NetBSD__) #include <sys/tls.h> +#endif #ifdef __HAVE_NO___THREAD #define __thread Modified: head/contrib/netbsd-tests/lib/libc/tls_dso/h_tls_dynamic.c ============================================================================== --- head/contrib/netbsd-tests/lib/libc/tls_dso/h_tls_dynamic.c Sun Oct 12 06:55:34 2014 (r272978) +++ head/contrib/netbsd-tests/lib/libc/tls_dso/h_tls_dynamic.c Sun Oct 12 10:04:59 2014 (r272979) @@ -35,7 +35,9 @@ __RCSID("$NetBSD: h_tls_dynamic.c,v 1.5 2013/10/21 19:11:17 joerg Exp $"); #include <unistd.h> +#if defined(__NetBSD__) #include <sys/tls.h> +#endif #ifdef __HAVE_NO___THREAD #define __thread
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410121005.s9CA50pD055376>