summaryrefslogtreecommitdiff
path: root/src/fcntl/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcntl/open.c')
-rw-r--r--src/fcntl/open.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fcntl/open.c b/src/fcntl/open.c
index 3928a6e6..1d817a2d 100644
--- a/src/fcntl/open.c
+++ b/src/fcntl/open.c
@@ -1,7 +1,6 @@
#include <fcntl.h>
#include <stdarg.h>
#include "syscall.h"
-#include "libc.h"
int open(const char *filename, int flags, ...)
{
@@ -21,4 +20,4 @@ int open(const char *filename, int flags, ...)
return __syscall_ret(fd);
}
-LFS64(open);
+weak_alias(open, open64);