summaryrefslogtreecommitdiff
path: root/sysdeps/generic/machine-sp.h
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-11-23 21:21:30 +0100
committerThomas Schwinge <thomas@schwinge.name>2010-01-25 22:34:59 +0100
commitc229fbc23a60f8824632dd2f2a81f0c8fb51df98 (patch)
treef1fb320c059c7b1b6a77a7811e4678e11c1f7d82 /sysdeps/generic/machine-sp.h
parent1056e10d6c05cc5d8658bf6fb620b2a1ca6c07ce (diff)
glibc-2.8/debian/patches/hurd-i386/submitted-extern_inline.diff 3057
Diffstat (limited to 'sysdeps/generic/machine-sp.h')
-rw-r--r--sysdeps/generic/machine-sp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/machine-sp.h b/sysdeps/generic/machine-sp.h
index 25e423efa5..4769bc5a70 100644
--- a/sysdeps/generic/machine-sp.h
+++ b/sysdeps/generic/machine-sp.h
@@ -26,11 +26,15 @@
#define _EXTERN_INLINE __extern_inline
#endif
+void * __thread_stack_pointer (void);
+
+#ifdef __USE_EXTERN_INLINES
_EXTERN_INLINE void *
__thread_stack_pointer (void)
{
register void *__sp__ ("{STACK-POINTER}");
return __sp__;
}
+#endif
#endif /* machine-sp.h */