summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/splice.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/splice.c')
-rw-r--r--libc/sysdeps/linux/common/splice.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/splice.c b/libc/sysdeps/linux/common/splice.c
index 7e8f4e3e0..b21d10336 100644
--- a/libc/sysdeps/linux/common/splice.c
+++ b/libc/sysdeps/linux/common/splice.c
@@ -10,11 +10,9 @@
#include <sys/syscall.h>
#include <fcntl.h>
-libc_hidden_proto(splice)
-
#ifdef __NR_splice
_syscall6(ssize_t, splice, int, __fdin, __off64_t *, __offin, int, __fdout,
- __off64_t *, __offout, size_t, __len, unsigned int, __flags);
+ __off64_t *, __offout, size_t, __len, unsigned int, __flags)
#else
ssize_t splice(int __fdin, __off64_t *__offin, int __fdout,
__off64_t *__offout, size_t __len, unsigned int __flags)
@@ -23,6 +21,3 @@ ssize_t splice(int __fdin, __off64_t *__offin, int __fdout,
return -1;
}
#endif
-
-libc_hidden_def(splice)
-