From 81e615de9818b0094abea875b60ca955edfcec9c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 6 Dec 2000 22:42:26 +0000 Subject: [PATCH] * winsup/cygwin/include/sys/uio.h: readv: Correct prototype writev: ditto. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/include/sys/uio.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 66e25be9b..f70d81686 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 6 15:39:18 2000 Earnie Boyd + + * winsup/cygwin/include/sys/uio.h (readv): Correct prototype. + (writev): Ditto. + Tue Dec 5 17:06:00 2000 Corinna Vinschen * include/sys/uio.h: Include . Use __BEGIN_DECL and diff --git a/winsup/cygwin/include/sys/uio.h b/winsup/cygwin/include/sys/uio.h index 39cd16ce2..5309a79db 100644 --- a/winsup/cygwin/include/sys/uio.h +++ b/winsup/cygwin/include/sys/uio.h @@ -19,8 +19,8 @@ struct iovec { int iov_len; }; -extern int readv __P ((int filedes, const struct iovec *vector, size_t count)); -extern int writev __P ((int filedes, const struct iovec *vector, size_t count)); +extern ssize_t readv __P ((int filedes, const struct iovec *vector, int count)); +extern ssize_t writev __P ((int filedes, const struct iovec *vector, int count)); __END_DECLS