Fix <sys/uio.h>

Mike Frysinger vapier@gentoo.org
Fri Apr 13 22:52:00 GMT 2012


On Friday 13 April 2012 15:42:22 Ryan Arnold wrote:
> 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.

i was thinking of pinging you over this :)

> --- a/include/sys/uio.h
> +++ b/include/sys/uio.h
> 
>  #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);

alternatively, couldn't you just drop the name altogether ?  for non-inline 
funcs, it seems kind of pointless.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120413/f91ace76/attachment.sig>


More information about the Libc-alpha mailing list