aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-10-09 09:25:29 +0000
committerUlrich Drepper <drepper@redhat.com>2002-10-09 09:25:29 +0000
commitce9fa295f04d169f45415c9585eef3bc72f3fe41 (patch)
tree47883f9f502264d2698cfc34c8c23f459351d17c /sysdeps
parentd78045b1a279b5fd1de507e6762a14ca07810eb9 (diff)
downloadglibc-ce9fa295f04d169f45415c9585eef3bc72f3fe41.tar
glibc-ce9fa295f04d169f45415c9585eef3bc72f3fe41.tar.gz
glibc-ce9fa295f04d169f45415c9585eef3bc72f3fe41.tar.bz2
glibc-ce9fa295f04d169f45415c9585eef3bc72f3fe41.zip
(__readv): Rename to __libc_readv and make old name an alias.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/aix/readv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/aix/readv.c b/sysdeps/unix/sysv/aix/readv.c
index 8c12690993..eddca0fc87 100644
--- a/sysdeps/unix/sysv/aix/readv.c
+++ b/sysdeps/unix/sysv/aix/readv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995-1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995-1998, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,11 +27,12 @@ extern ssize_t kreadv (int fd, const struct iovec *iovp, size_t iovcnt,
Operates just like `read' (see <unistd.h>) except that data are
put in VECTOR instead of a contiguous buffer. */
ssize_t
-__readv (fd, vector, count)
+__libc_readv (fd, vector, count)
int fd;
const struct iovec *vector;
int count;
{
return kreadv (fd, vector, count, 0);
}
-strong_alias (__readv, readv)
+strong_alias (__libc_readv, __readv)
+weak_alias (__libc_readv, readv)