summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-10-30 20:56:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-10-30 20:56:34 +0000
commite19c95fd5ed81c1d47c6784c18942c552e6f4562 (patch)
treef0b7593352df1d68f0e217bd9e95e19872b4c5ed /include/sys
parent65b00b6c51c09bbce4876fac87ec4f8ad8399697 (diff)
downloadglibc-e19c95fd5ed81c1d47c6784c18942c552e6f4562.tar.gz
Remove __libc_readv and __libc_writev function names.
Continuing the removal of __libc_* function names that are no longer used anywhere, this patch removes the __libc_readv and __libc_writev names. Tested for x86_64 that stripped installed shared libraries are unchanged by the patch. * include/sys/uio.h (__libc_readv): Remove declaration. (__libc_writev): Likewise. * misc/readv.c (__libc_readv): Rename to __readv. (__readv): Do not define as alias. (readv): Define as alias of __readv. * misc/writev.c (__libc_writev): Rename to __writev. (__writev): Do not define as alias. (writev): Define as alias of __writev. * sysdeps/posix/readv.c (__libc_readv): Rename to __readv. (__readv): Do not define as alias. (readv): Define unconditionally as alias of __readv. * sysdeps/posix/writev.c (__libc_writev): Rename to __writev. (__writev): Do not define as alias. (writev): Define unconditionally as alias of __writev. * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv name. (writev): Do not define __libc_writev name.
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/uio.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sys/uio.h b/include/sys/uio.h
index 7d67d67c0a..f44ce182ba 100644
--- a/include/sys/uio.h
+++ b/include/sys/uio.h
@@ -5,11 +5,7 @@
/* Now define the internal interfaces. */
extern ssize_t __readv (int __fd, const struct iovec *__iovec,
int __count);
-extern ssize_t __libc_readv (int __fd, const struct iovec *__iovec,
- int __count);
extern ssize_t __writev (int __fd, const struct iovec *__iovec,
int __count);
-extern ssize_t __libc_writev (int __fd, const struct iovec *__iovec,
- int __count);
#endif
#endif