about summary refs log tree commit diff
path: root/src/unistd/truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/truncate.c')
-rw-r--r--src/unistd/truncate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unistd/truncate.c b/src/unistd/truncate.c
index 8e65655c..97296800 100644
--- a/src/unistd/truncate.c
+++ b/src/unistd/truncate.c
@@ -1,10 +1,9 @@
 #include <unistd.h>
 #include "syscall.h"
-#include "libc.h"
 
 int truncate(const char *path, off_t length)
 {
 	return syscall(SYS_truncate, path, __SYSCALL_LL_O(length));
 }
 
-LFS64(truncate);
+weak_alias(truncate, truncate64);