diff options
author | Roland McGrath <roland@gnu.org> | 2001-08-21 20:32:21 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-08-21 20:32:21 +0000 |
commit | 0b32ff01b855437f26d90a47ffc619fad2f6917f (patch) | |
tree | f6861d87fe18b2fc2555a865d814680d84580801 /hurd/hurd.h | |
parent | 6c6bb0558c6adebd450cc7037305f89e746597b5 (diff) | |
download | glibc-0b32ff01b855437f26d90a47ffc619fad2f6917f.zip glibc-0b32ff01b855437f26d90a47ffc619fad2f6917f.tar.gz glibc-0b32ff01b855437f26d90a47ffc619fad2f6917f.tar.bz2 |
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/hurd.h')
-rw-r--r-- | hurd/hurd.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hurd/hurd.h b/hurd/hurd.h index 2e078c1..077e5b1 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) |