mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN"
This reverts commit 0c5b8b5941
.
This commit is contained in:
@ -30,13 +30,16 @@ utimensat (int fd, const char *file, const struct timespec tsp[2],
|
||||
int flags)
|
||||
{
|
||||
if (file == NULL)
|
||||
return INLINE_SYSCALL_ERROR_RETURN (-EINVAL, int, -1);
|
||||
{
|
||||
__set_errno (EINVAL);
|
||||
return -1;
|
||||
}
|
||||
#ifdef __NR_utimensat
|
||||
/* Avoid implicit array coercion in syscall macros. */
|
||||
return INLINE_SYSCALL_RETURN (utimensat, 4, int, fd, file, &tsp[0],
|
||||
flags);
|
||||
return INLINE_SYSCALL (utimensat, 4, fd, file, &tsp[0], flags);
|
||||
#else
|
||||
return INLINE_SYSCALL_ERROR_RETURN (-ENOSYS, int, -1);
|
||||
__set_errno (ENOSYS);
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
#ifndef __NR_utimensat
|
||||
|
Reference in New Issue
Block a user