1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN"

This reverts commit 0c5b8b5941.
This commit is contained in:
H.J. Lu
2015-08-21 09:57:15 -07:00
parent 8c7c251746
commit e5dee2c896
64 changed files with 292 additions and 364 deletions

View File

@ -37,18 +37,12 @@ __statfs64 (const char *file, struct statfs64 *buf)
if (! __no_statfs64)
# endif
{
# if __ASSUME_STATFS64 == 0
INTERNAL_SYSCALL_DECL (err);
int result = INTERNAL_SYSCALL (statfs64, err, 3, file,
sizeof (*buf), buf);
int result = INLINE_SYSCALL (statfs64, 3, file, sizeof (*buf), buf);
if (!__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (result, err))
|| INTERNAL_SYSCALL_ERRNO (result, err) != ENOSYS)
return result;
# else
return INLINE_SYSCALL_RETURN (statfs64, 3, int, file,
sizeof (*buf), buf);
# if __ASSUME_STATFS64 == 0
if (result == 0 || errno != ENOSYS)
# endif
return result;
# if __ASSUME_STATFS64 == 0
__no_statfs64 = 1;