summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/syscalls.c')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 542ec1b96..db17d045d 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -1613,13 +1613,7 @@ _syscall3(int, chown, const char *, path, uid_t, owner, gid_t, group);
#endif
//#define __NR_getcwd 183
-#ifdef L_getcwd
-# ifdef __NR_getcwd
- _syscall2(int, getcwd, char *, buf, unsigned long, size);
-# else
-// See unistd/getcwd.c if this syscall is not available...
-# endif
-#endif
+// See getcwd.c in this directory
//#define __NR_capget 184
#ifdef L_capget