summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ftruncate64.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/ftruncate64.c
parentff6418fcf94d0e0d9a62ffc371479ff4b0f7791d (diff)
create hidden alias for truncate/ftruncate and use those in the 64bit versions
Diffstat (limited to 'libc/sysdeps/linux/common/ftruncate64.c')
-rw-r--r--libc/sysdeps/linux/common/ftruncate64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/ftruncate64.c b/libc/sysdeps/linux/common/ftruncate64.c
index 3cbc9a799..51392a1aa 100644
--- a/libc/sysdeps/linux/common/ftruncate64.c
+++ b/libc/sysdeps/linux/common/ftruncate64.c
@@ -12,6 +12,8 @@
* the main directory of this archive for more details.
*/
+#define ftruncate __ftruncate
+
#include <features.h>
#include <unistd.h>
#include <errno.h>