summaryrefslogtreecommitdiff
path: root/src/fcntl/posix_fallocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcntl/posix_fallocate.c')
-rw-r--r--src/fcntl/posix_fallocate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fcntl/posix_fallocate.c b/src/fcntl/posix_fallocate.c
index 91d8063c..c57a24ae 100644
--- a/src/fcntl/posix_fallocate.c
+++ b/src/fcntl/posix_fallocate.c
@@ -1,6 +1,5 @@
#include <fcntl.h>
#include "syscall.h"
-#include "libc.h"
int posix_fallocate(int fd, off_t base, off_t len)
{
@@ -8,4 +7,4 @@ int posix_fallocate(int fd, off_t base, off_t len)
__SYSCALL_LL_E(len));
}
-LFS64(posix_fallocate);
+weak_alias(posix_fallocate, posix_fallocate64);