summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/setuid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/setuid.c b/libc/sysdeps/linux/common/setuid.c
index 7fd8c65e6..470be1f0f 100644
--- a/libc/sysdeps/linux/common/setuid.c
+++ b/libc/sysdeps/linux/common/setuid.c
@@ -22,7 +22,7 @@ _syscall1(int, setuid, uid_t, uid)
#else
# define __NR___syscall_setuid __NR_setuid
-static __inline__ _syscall1(int, __syscall_setuid, __kernel_uid_t, uid)
+static __always_inline _syscall1(int, __syscall_setuid, __kernel_uid_t, uid)
int setuid(uid_t uid)
{
@@ -30,6 +30,6 @@ int setuid(uid_t uid)
__set_errno(EINVAL);
return -1;
}
- return (__syscall_setuid(uid));
+ return __syscall_setuid(uid);
}
#endif