summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/open.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/open.c
parent1956924ceacc66c73e7f3ef7a365149d5a1748d4 (diff)
Some undefs to be pedantic
Diffstat (limited to 'libc/sysdeps/linux/common/open.c')
-rw-r--r--libc/sysdeps/linux/common/open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/open.c b/libc/sysdeps/linux/common/open.c
index 90e990a4f..648f7d053 100644
--- a/libc/sysdeps/linux/common/open.c
+++ b/libc/sysdeps/linux/common/open.c
@@ -14,6 +14,8 @@
#include <string.h>
#include <sys/param.h>
+#undef __open
+#undef open
#define __NR___syscall_open __NR_open
static inline _syscall3(int, __syscall_open, const char *, file,
int, flags, __kernel_mode_t, mode);