This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Fix <sys/uio.h>
- From: Ryan Arnold <rsa at us dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 13 Apr 2012 14:42:22 -0500
- Subject: Fix <sys/uio.h>
- Reply-to: rsa at us dot ibm dot com
I've regenerated this patch against the master branch and would like to
commit it soon. Many of us have been carrying this trivial patch for
far too long.
Ryan S. Arnold
IBM Linux Technology Center
2009-11-06 Petr Baudis <pasky@suse.cz>
* include/sys/uio.h: Change __vector to __iovec to avoid clash
with altivec.
diff --git a/include/sys/uio.h b/include/sys/uio.h
index 0ec9ab0..7d67d67 100644
--- a/include/sys/uio.h
+++ b/include/sys/uio.h
@@ -3,13 +3,13 @@
#ifndef _ISOMAC
/* Now define the internal interfaces. */
-extern ssize_t __readv (int __fd, const struct iovec *__vector,
+extern ssize_t __readv (int __fd, const struct iovec *__iovec,
int __count);
-extern ssize_t __libc_readv (int __fd, const struct iovec *__vector,
+extern ssize_t __libc_readv (int __fd, const struct iovec *__iovec,
int __count);
-extern ssize_t __writev (int __fd, const struct iovec *__vector,
+extern ssize_t __writev (int __fd, const struct iovec *__iovec,
int __count);
-extern ssize_t __libc_writev (int __fd, const struct iovec *__vector,
+extern ssize_t __libc_writev (int __fd, const struct iovec *__iovec,
int __count);
#endif
#endif