about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/tls.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-04-16 23:43:28 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-04-16 23:43:28 +0200
commit9f2a4fbc3c3265227f1493469ad67a81a786c3b1 (patch)
treef3b0d3cacd5f2b486fe0f1b4d719b3b0620dd9d4 /sysdeps/mach/hurd/tls.h
parentfd15a59b20220a2d89d628ecebfcaad1ddefe871 (diff)
downloadglibc-9f2a4fbc3c3265227f1493469ad67a81a786c3b1.tar.gz
glibc-9f2a4fbc3c3265227f1493469ad67a81a786c3b1.tar.xz
glibc-9f2a4fbc3c3265227f1493469ad67a81a786c3b1.zip
hurd: Move dtv, dtv_t, tcbhead_t declaration to per-arch file.
Diffstat (limited to 'sysdeps/mach/hurd/tls.h')
-rw-r--r--sysdeps/mach/hurd/tls.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sysdeps/mach/hurd/tls.h b/sysdeps/mach/hurd/tls.h
index dbe73f5035..3b8b713170 100644
--- a/sysdeps/mach/hurd/tls.h
+++ b/sysdeps/mach/hurd/tls.h
@@ -27,27 +27,6 @@
 # include <mach.h>
 
 
-/* Type for the dtv.  */
-typedef union dtv
-{
-  size_t counter;
-  struct
-  {
-    void *val;
-    bool is_static;
-  } pointer;
-} dtv_t;
-
-
-/* Type of the TCB.  */
-typedef struct
-{
-  void *tcb;			/* Points to this structure.  */
-  dtv_t *dtv;			/* Vector of pointers to TLS data.  */
-  thread_t self;		/* This thread's control port.  */
-} tcbhead_t;
-
-
 /* This is the size of the initial TCB.  */
 # define TLS_INIT_TCB_SIZE sizeof (tcbhead_t)