summaryrefslogtreecommitdiff
path: root/hurd/hurd.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 /hurd/hurd.h
parent1056e10d6c05cc5d8658bf6fb620b2a1ca6c07ce (diff)
glibc-2.8/debian/patches/hurd-i386/submitted-extern_inline.diff 3057
Diffstat (limited to 'hurd/hurd.h')
-rw-r--r--hurd/hurd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hurd/hurd.h b/hurd/hurd.h
index 642ea43b7b..2ce1da03ff 100644
--- a/hurd/hurd.h
+++ b/hurd/hurd.h
@@ -48,6 +48,9 @@
#define _HURD_H_EXTERN_INLINE __extern_inline
#endif
+int __hurd_fail (error_t err);
+
+#ifdef __USE_EXTERN_INLINES
_HURD_H_EXTERN_INLINE int
__hurd_fail (error_t err)
{
@@ -77,6 +80,7 @@ __hurd_fail (error_t err)
errno = err;
return -1;
}
+#endif
/* Basic ports and info, initialized by startup. */