summaryrefslogtreecommitdiff
path: root/sysdeps/generic/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/open.c')
-rw-r--r--sysdeps/generic/open.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/generic/open.c b/sysdeps/generic/open.c
index c9ea902447..188110b3f3 100644
--- a/sysdeps/generic/open.c
+++ b/sysdeps/generic/open.c
@@ -21,8 +21,6 @@
#include <stdarg.h>
#include <stddef.h>
-#undef __open
-
/* Open FILE with access OFLAG. If OFLAG includes O_CREAT,
a third argument is the file protection. */
int
@@ -49,8 +47,8 @@ __open (file, oflag)
__set_errno (ENOSYS);
return -1;
}
+libc_hidden_def (__open)
stub_warning (open)
-INTDEF(__open)
weak_alias (__open, open)
#include <stub-tag.h>