X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Fftruncate.c;h=b41be0fa6f9ec6090aefbd1ef70735553f3dc19c;hb=5f12ffe1239a5e4f8d4e98e2dff4e191a71f4693;hp=467135f009971316101b6e38e5384707baa508c4;hpb=0b6eb2dfb2e84a8a51906e7634f3d5edc230b058;p=musl diff --git a/src/unistd/ftruncate.c b/src/unistd/ftruncate.c index 467135f0..b41be0fa 100644 --- a/src/unistd/ftruncate.c +++ b/src/unistd/ftruncate.c @@ -1,10 +1,9 @@ #include #include "syscall.h" -#include "libc.h" int ftruncate(int fd, off_t length) { return syscall(SYS_ftruncate, fd, __SYSCALL_LL_O(length)); } -LFS64(ftruncate); +weak_alias(ftruncate, ftruncate64);