about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/preadv.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-09 21:45:21 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-09 21:45:21 +0000
commitf9fe75e9455f8473ce9b5c34cfb9e6a22627be09 (patch)
tree9aeb9ad6da7b170661f0c1831556efebc554c0b6 /sysdeps/unix/sysv/linux/preadv.c
parent28b2771a4bf6f04197da6d5081f7330b54a2ce91 (diff)
downloadglibc-f9fe75e9455f8473ce9b5c34cfb9e6a22627be09.tar.gz
glibc-f9fe75e9455f8473ce9b5c34cfb9e6a22627be09.tar.xz
glibc-f9fe75e9455f8473ce9b5c34cfb9e6a22627be09.zip
* sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for static
	function if it is not defined.
	* sysdeps/unix/sysv/linux/pwritev.c: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/preadv.c')
-rw-r--r--sysdeps/unix/sysv/linux/preadv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/preadv.c b/sysdeps/unix/sysv/linux/preadv.c
index e2f8238596..ff9af6fa05 100644
--- a/sysdeps/unix/sysv/linux/preadv.c
+++ b/sysdeps/unix/sysv/linux/preadv.c
@@ -36,8 +36,10 @@
 # define OFF_T off_t
 #endif
 
+#ifndef __ASSUME_PREADV
 static ssize_t PREADV_REPLACEMENT (int, __const struct iovec *,
 				   int, OFF_T) internal_function;
+#endif
 
 
 ssize_t