From f9fe75e9455f8473ce9b5c34cfb9e6a22627be09 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 9 Apr 2009 21:45:21 +0000 Subject: * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for static function if it is not defined. * sysdeps/unix/sysv/linux/pwritev.c: Likewise. --- sysdeps/unix/sysv/linux/preadv.c | 2 ++ sysdeps/unix/sysv/linux/pwritev.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/preadv.c b/sysdeps/unix/sysv/linux/preadv.c index e2f8238..ff9af6f 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 diff --git a/sysdeps/unix/sysv/linux/pwritev.c b/sysdeps/unix/sysv/linux/pwritev.c index df430ff..2031add 100644 --- a/sysdeps/unix/sysv/linux/pwritev.c +++ b/sysdeps/unix/sysv/linux/pwritev.c @@ -36,8 +36,10 @@ # define OFF_T off_t #endif +#ifndef __ASSUME_PWRITEV static ssize_t PWRITEV_REPLACEMENT (int, __const struct iovec *, int, OFF_T) internal_function; +#endif ssize_t -- cgit v1.1