Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/tls Define namespace remap macros before including ...
details: https://anonhg.NetBSD.org/src/rev/150ae2a8a14d
branches: trunk
changeset: 763085:150ae2a8a14d
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Mar 09 23:50:40 2011 +0000
description:
Define namespace remap macros before including sys/tls.h.
diffstat:
lib/libc/tls/tls.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 0cb0d47e27c8 -r 150ae2a8a14d lib/libc/tls/tls.c
--- a/lib/libc/tls/tls.c Wed Mar 09 23:49:06 2011 +0000
+++ b/lib/libc/tls/tls.c Wed Mar 09 23:50:40 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tls.c,v 1.1 2011/03/09 23:10:06 joerg Exp $ */
+/* $NetBSD: tls.c,v 1.2 2011/03/09 23:50:40 joerg Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -30,17 +30,17 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: tls.c,v 1.1 2011/03/09 23:10:06 joerg Exp $");
+__RCSID("$NetBSD: tls.c,v 1.2 2011/03/09 23:50:40 joerg Exp $");
#include "namespace.h"
+#define _rtld_tls_allocate __libc_rtld_tls_allocate
+#define _rtld_tls_free __libc_rtld_tls_free
+
#include <sys/tls.h>
#if defined(__HAVE_TLS_VARIANT_I) || defined(__HAVE_TLS_VARIANT_II)
-#define _rtld_tls_allocate __libc_rtld_tls_allocate
-#define _rtld_tls_free __libc_rtld_tls_free
-
#include <sys/param.h>
#include <sys/mman.h>
#include <link_elf.h>
Home |
Main Index |
Thread Index |
Old Index