summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/ftruncate64.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-05 18:30:04 -0400
committerAustin Foxley <austinf@cetoncorp.com>2009-07-09 01:36:50 -0700
commit6b9c6183fd8501e5239ae720d9102e0c0aa7e40b (patch)
tree155681dad9bbc21412d86db4465477e3b860780d /libc/sysdeps/linux/common/ftruncate64.c
parentb130cfb465ca69a786e0bff9fa7e989f70178387 (diff)
downloaduClibc-alpine-6b9c6183fd8501e5239ae720d9102e0c0aa7e40b.tar.bz2
uClibc-alpine-6b9c6183fd8501e5239ae720d9102e0c0aa7e40b.tar.xz
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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux/common/ftruncate64.c')
-rw-r--r--libc/sysdeps/linux/common/ftruncate64.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libc/sysdeps/linux/common/ftruncate64.c b/libc/sysdeps/linux/common/ftruncate64.c
index 132789144..4d00b0294 100644
--- a/libc/sysdeps/linux/common/ftruncate64.c
+++ b/libc/sysdeps/linux/common/ftruncate64.c
@@ -32,18 +32,6 @@ _syscall2(int, ftruncate64, int, fd, __off64_t, length)
# elif __WORDSIZE == 32
-# ifndef INLINE_SYSCALL
-# define INLINE_SYSCALL(name, nr, args...) __syscall_ftruncate64 (args)
-# define __NR___syscall_ftruncate64 __NR_ftruncate64
-# if defined(__UCLIBC_TRUNCATE64_HAS_4_ARGS__)
-static __inline__ _syscall4(int, __syscall_ftruncate64, int, fd, uint32_t, pad,
- unsigned long, high_length, unsigned long, low_length)
-# else
-static __inline__ _syscall3(int, __syscall_ftruncate64, int, fd,
- unsigned long, high_length, unsigned long, low_length)
-# endif
-# endif
-
/* The exported ftruncate64 function. */
int ftruncate64 (int fd, __off64_t length)
{