about summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-08-21 20:32:21 +0000
committerRoland McGrath <roland@gnu.org>2001-08-21 20:32:21 +0000
commit0b32ff01b855437f26d90a47ffc619fad2f6917f (patch)
treef6861d87fe18b2fc2555a865d814680d84580801 /hurd
parent6c6bb0558c6adebd450cc7037305f89e746597b5 (diff)
downloadglibc-0b32ff01b855437f26d90a47ffc619fad2f6917f.tar.gz
glibc-0b32ff01b855437f26d90a47ffc619fad2f6917f.tar.xz
glibc-0b32ff01b855437f26d90a47ffc619fad2f6917f.zip
2001-08-21 Roland McGrath <roland@frob.com>
	* hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
	* Versions.def (libc): Add GLIBC_2.2.5 set.
	* hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
	(__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/Versions4
-rw-r--r--hurd/hurd.h6
2 files changed, 9 insertions, 1 deletions
diff --git a/hurd/Versions b/hurd/Versions
index 3667f90dd1..4b98917491 100644
--- a/hurd/Versions
+++ b/hurd/Versions
@@ -135,6 +135,10 @@ libc {
     # h*
     hurd_directory_name_split;
   }
+  GLIBC_2.2.5 {
+    # This always existed as an inline but the real function never exported.
+    __hurd_fail;
+  }
 
 %if !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
   HURD_CTHREADS_0.3 {
diff --git a/hurd/hurd.h b/hurd/hurd.h
index 2e078c1966..077e5b191b 100644
--- a/hurd/hurd.h
+++ b/hurd/hurd.h
@@ -43,7 +43,11 @@
 
 #include <errno.h>
 
-_EXTERN_INLINE int
+#ifndef _HURD_H_EXTERN_INLINE
+#define _HURD_H_EXTERN_INLINE extern __inline
+#endif
+
+_HURD_H_EXTERN_INLINE int
 __hurd_fail (error_t err)
 {
   switch (err)