From b80f5da01c0b793e3b582c952f2a2a608ea9e5d3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 3 Sep 2004 20:49:00 +0000 Subject: 2004-09-03 Alfred M. Szmidt * sysdeps/mach/hurd/i386/tls.h (THREAD_DTV): Changed type of _DTV to `dtv_t *'. --- sysdeps/mach/hurd/i386/tls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h index e9855b6f93..d04bdb43f2 100644 --- a/sysdeps/mach/hurd/i386/tls.h +++ b/sysdeps/mach/hurd/i386/tls.h @@ -129,7 +129,7 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall) /* Return the address of the dtv for the current thread. */ # define THREAD_DTV() \ - ({ void *_dtv; \ + ({ dtv_t *_dtv; \ asm ("movl %%gs:%P1,%0" : "=q" (_dtv) : "i" (offsetof (tcbhead_t, dtv)));\ _dtv; }) -- cgit v1.2.3