summaryrefslogtreecommitdiff
path: root/hurd/hurd/threadvar.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-10-24 23:56:07 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-10-24 23:56:07 +0200
commitd75af560cf903e0daeb0e92b1f3d516b1d8254df (patch)
tree63682f3a6fb67efdf39bb8ac91fc906b796c27e4 /hurd/hurd/threadvar.h
parentd42021b518beafd18cd7921358b57246745fb91c (diff)
Do not expose libc internals about ports and signals outside libc
Diffstat (limited to 'hurd/hurd/threadvar.h')
-rw-r--r--hurd/hurd/threadvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/hurd/threadvar.h b/hurd/hurd/threadvar.h
index ebfce35b51..e8013ce03f 100644
--- a/hurd/hurd/threadvar.h
+++ b/hurd/hurd/threadvar.h
@@ -82,7 +82,7 @@ enum __hurd_threadvar_index
extern unsigned long int *__hurd_threadvar_location_from_sp
(enum __hurd_threadvar_index __index, void *__sp);
-#ifdef __USE_EXTERN_INLINES
+#if defined __USE_EXTERN_INLINES && defined _LIBC
_HURD_THREADVAR_H_EXTERN_INLINE unsigned long int *
__hurd_threadvar_location_from_sp (enum __hurd_threadvar_index __index,
void *__sp)
@@ -108,7 +108,7 @@ __hurd_threadvar_location (enum __hurd_threadvar_index __index) __THROW
the same stack frame by different threads. */
__attribute__ ((__const__));
-#ifdef __USE_EXTERN_INLINES
+#if defined __USE_EXTERN_INLINES && defined _LIBC
_HURD_THREADVAR_H_EXTERN_INLINE unsigned long int *
__hurd_threadvar_location (enum __hurd_threadvar_index __index)
{