summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/truncate64.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-05 18:30:04 -0400
committerMike Frysinger <vapier@gentoo.org>2009-07-08 21:39:35 -0400
commit6c70a940b48c98d5be4bdc13a400a763e46eb5e6 (patch)
treeaa06b7db50546881c2ed6f255c32f19b3f5882e8 /libc/sysdeps/linux/common/truncate64.c
parentb387d762361e6c109c6a60bced003e72447b0a33 (diff)
drop missing {INLINE,INTERNAL}_SYSCALL fallback logic
Ports missing INLINE_SYSCALL() support need to get fixed, so drop the cruft keeping them alive since it no longer works with the unification. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux/common/truncate64.c')
-rw-r--r--libc/sysdeps/linux/common/truncate64.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libc/sysdeps/linux/common/truncate64.c b/libc/sysdeps/linux/common/truncate64.c
index d542679ce..73f652942 100644
--- a/libc/sysdeps/linux/common/truncate64.c
+++ b/libc/sysdeps/linux/common/truncate64.c
@@ -29,18 +29,6 @@ _syscall2(int, truncate64, const char *, path, __off64_t, length)
#elif __WORDSIZE == 32
-#ifndef INLINE_SYSCALL
-#define INLINE_SYSCALL(name, nr, args...) __syscall_truncate64(args)
-#define __NR___syscall_truncate64 __NR_truncate64
-#if defined(__UCLIBC_TRUNCATE64_HAS_4_ARGS__)
-static __inline__ _syscall4(int, __syscall_truncate64, const char *, path,
- uint32_t, pad, unsigned long, high_length, unsigned long, low_length)
-#else
-static __inline__ _syscall3(int, __syscall_truncate64, const char *, path,
- unsigned long, high_length, unsigned long, low_length)
-#endif
-#endif
-
/* The exported truncate64 function. */
int truncate64(const char * path, __off64_t length)
{