summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/umask.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/common/umask.c b/libc/sysdeps/linux/common/umask.c
index b838e1731..b558885c1 100644
--- a/libc/sysdeps/linux/common/umask.c
+++ b/libc/sysdeps/linux/common/umask.c
@@ -10,10 +10,4 @@
#include <sys/syscall.h>
#include <sys/stat.h>
-#define __NR___syscall_umask __NR_umask
-static __inline__ _syscall1(__kernel_mode_t, __syscall_umask, __kernel_mode_t, mode)
-
-mode_t umask(mode_t mode)
-{
- return __syscall_umask(mode);
-}
+_syscall_noerr1(mode_t, umask, mode_t, mode)