about summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-02-02 19:44:07 +0000
committerRoland McGrath <roland@gnu.org>2005-02-02 19:44:07 +0000
commit69553a9bd8a2827f1602a593d3eebbe329fb1f7f (patch)
tree35e7549cb5162140ffda9658a384684c08d02827 /sysdeps/mach
parent5d09cc15b615c1e5629ed8e267c866c40f3ba924 (diff)
downloadglibc-69553a9bd8a2827f1602a593d3eebbe329fb1f7f.tar.gz
glibc-69553a9bd8a2827f1602a593d3eebbe329fb1f7f.tar.xz
glibc-69553a9bd8a2827f1602a593d3eebbe329fb1f7f.zip
* sysdeps/mach/hurd/tls.h: Include <stdbool.h>
	(dtv_t): Change pointer type to be a struct which also contains
	information whether the memory pointed to is static TLS or not.

	* sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.

	* shadow/sgetspent_r.c (FALSE): Macro renamed to ...
	(FALSEP): ... this.  Updated all references.

	* libio/fmemopen.c: Include <stdint.h>.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/tls.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/tls.h b/sysdeps/mach/hurd/tls.h
index bc15b4dab6..cce42ef374 100644
--- a/sysdeps/mach/hurd/tls.h
+++ b/sysdeps/mach/hurd/tls.h
@@ -1,5 +1,5 @@
 /* Definitions for thread-local data handling.  Hurd version.
-   Copyright (C) 2003 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,7 @@
 #if defined HAVE_TLS_SUPPORT && !defined ASSEMBLER
 
 # include <stddef.h>
+# include <stdbool.h>
 # include <mach/mig_errors.h>
 # include <mach.h>
 
@@ -31,7 +32,11 @@
 typedef union dtv
 {
   size_t counter;
-  void *pointer;
+  struct
+  {
+    void *val;
+    bool is_static;
+  } pointer;
 } dtv_t;