summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/__syscall_fcntl.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:22:11 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:22:11 +0000
commit3039e5421ce80d9934f4f6f6efd556afe388f10e (patch)
tree3dfc78eda0d2145edfe7c83eca30ffbe88c626f8 /libc/sysdeps/linux/common/__syscall_fcntl.c
parent1956924ceacc66c73e7f3ef7a365149d5a1748d4 (diff)
Some undefs to be pedantic
Diffstat (limited to 'libc/sysdeps/linux/common/__syscall_fcntl.c')
-rw-r--r--libc/sysdeps/linux/common/__syscall_fcntl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl.c b/libc/sysdeps/linux/common/__syscall_fcntl.c
index f094616cb..ca9aff5e7 100644
--- a/libc/sysdeps/linux/common/__syscall_fcntl.c
+++ b/libc/sysdeps/linux/common/__syscall_fcntl.c
@@ -11,10 +11,13 @@
#include <stdarg.h>
#include <fcntl.h>
+#undef __fcntl
+
#if defined __UCLIBC_HAS_LFS__ && defined __NR_fcntl64
extern int __fcntl64(int fd, int cmd, ...) attribute_hidden;
#endif
+#undef fcntl
#define __NR___syscall_fcntl __NR_fcntl
static inline
_syscall3(int, __syscall_fcntl, int, fd, int, cmd, long, arg);