mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
* sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for static
function if it is not defined. * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
This commit is contained in:
parent
28b2771a4b
commit
f9fe75e945
@ -1,5 +1,9 @@
|
||||
2009-04-09 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* 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/kernel-features.h: SPARC and IA64 also
|
||||
have preadv/pwritev in 2.6.30.
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user