summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/truncate64.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 18:21:33 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-11-27 18:21:33 +0000
commit28c8634afdc1fa236679b49ab0d5a019379c6db1 (patch)
treefda9d6e124a32799b07247f8d38d0cc8f963cd4e /libc/sysdeps/linux/common/truncate64.c
parenteb38b2d34c32ed3089e2bf8935219a57f84ce7b3 (diff)
downloaduClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.bz2
uClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.xz
Synch with trunk @ 24165
Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
Diffstat (limited to 'libc/sysdeps/linux/common/truncate64.c')
-rw-r--r--libc/sysdeps/linux/common/truncate64.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/truncate64.c b/libc/sysdeps/linux/common/truncate64.c
index d4a1798fe..40989334f 100644
--- a/libc/sysdeps/linux/common/truncate64.c
+++ b/libc/sysdeps/linux/common/truncate64.c
@@ -25,7 +25,7 @@
#if __WORDSIZE == 64
/* For a 64 bit machine, life is simple... */
-_syscall2(int, truncate64, const char *, path, __off64_t, length);
+_syscall2(int, truncate64, const char *, path, __off64_t, length)
#elif __WORDSIZE == 32
@@ -34,10 +34,10 @@ _syscall2(int, truncate64, const char *, path, __off64_t, length);
#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);
+ 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);
+ unsigned long, high_length, unsigned long, low_length)
#endif
#endif
@@ -62,7 +62,7 @@ int truncate64 (const char * path, __off64_t length)
#else /* __NR_truncate64 */
-libc_hidden_proto(truncate)
+/* libc_hidden_proto(truncate) */
int truncate64 (const char * path, __off64_t length)
{