summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ftruncate.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 11:43:41 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 11:43:41 +0000
commitdc3e1771cd0074a32581967f34fd94b98eaa672a (patch)
treec76b66423af562c97edb8ef80a4f3de1facf636c /libc/sysdeps/linux/common/ftruncate.c
parentff6418fcf94d0e0d9a62ffc371479ff4b0f7791d (diff)
create hidden alias for truncate/ftruncate and use those in the 64bit versions
Diffstat (limited to 'libc/sysdeps/linux/common/ftruncate.c')
-rw-r--r--libc/sysdeps/linux/common/ftruncate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/ftruncate.c b/libc/sysdeps/linux/common/ftruncate.c
index f24ca8d9e..a25fd0285 100644
--- a/libc/sysdeps/linux/common/ftruncate.c
+++ b/libc/sysdeps/linux/common/ftruncate.c
@@ -10,3 +10,4 @@
#include "syscalls.h"
#include <unistd.h>
_syscall2(int, ftruncate, int, fd, __off_t, length);
+hidden_strong_alias(ftruncate, __ftruncate)