summaryrefslogtreecommitdiff
path: root/hurd/hurd.h
diff options
context:
space:
mode:
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. */