mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
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.
This commit is contained in:
parent
6c6bb0558c
commit
0b32ff01b8
@ -13,6 +13,7 @@ libc {
|
|||||||
GLIBC_2.2.2
|
GLIBC_2.2.2
|
||||||
GLIBC_2.2.3
|
GLIBC_2.2.3
|
||||||
GLIBC_2.2.4
|
GLIBC_2.2.4
|
||||||
|
GLIBC_2.2.5
|
||||||
%ifdef USE_IN_LIBIO
|
%ifdef USE_IN_LIBIO
|
||||||
HURD_CTHREADS_0.3
|
HURD_CTHREADS_0.3
|
||||||
%endif
|
%endif
|
||||||
|
@ -135,6 +135,10 @@ libc {
|
|||||||
# h*
|
# h*
|
||||||
hurd_directory_name_split;
|
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)
|
%if !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)
|
||||||
HURD_CTHREADS_0.3 {
|
HURD_CTHREADS_0.3 {
|
||||||
|
@ -43,7 +43,11 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#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)
|
__hurd_fail (error_t err)
|
||||||
{
|
{
|
||||||
switch (err)
|
switch (err)
|
||||||
|
Loading…
Reference in New Issue
Block a user