summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ftruncate64.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-09 15:28:18 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-09 15:28:18 +0000
commite1ac9ac84eccf18468fed3b5920178f77028d6cf (patch)
treef82ef66ec7363aa59108dc4a209dd44883f3d737 /libc/sysdeps/linux/common/ftruncate64.c
parentbc0bc39645ace0f6b4182c641295e31d58b9eba7 (diff)
Remove from syscalls.c, leave just ftruncate64.c and truncate64.c
which have implementations that works... -Erik
Diffstat (limited to 'libc/sysdeps/linux/common/ftruncate64.c')
-rw-r--r--libc/sysdeps/linux/common/ftruncate64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/ftruncate64.c b/libc/sysdeps/linux/common/ftruncate64.c
index 0b87eb58a..79eb628f0 100644
--- a/libc/sysdeps/linux/common/ftruncate64.c
+++ b/libc/sysdeps/linux/common/ftruncate64.c
@@ -20,10 +20,10 @@
#include <sys/syscall.h>
#if defined __UCLIBC_HAVE_LFS__ && defined __NR_ftruncate64
-#if (__WORDSIZE == 64)
+#if __WORDSIZE == 64
/* For a 64 bit machine, life is simple... */
_syscall2(int, ftruncate64, int, fd, __off64_t, length);
-#elif (__WORDSIZE == 32)
+#elif __WORDSIZE == 32
#define __NR___ftruncate64 __NR_ftruncate64
static inline _syscall3(int, __ftruncate64, int, fd, int, high_length, int, low_length);
/* The exported ftruncate64 function. */