From 35dd3cd404eafdfd7f1a2dd393723b280eac4b5f Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Fri, 17 Aug 2001 06:52:24 +0000 Subject: correctly return ssize_t. --- lib/libc_r/uthread/uthread_readv.c | 4 ++-- lib/libpthread/uthread/uthread_readv.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc_r/uthread/uthread_readv.c b/lib/libc_r/uthread/uthread_readv.c index 1ef0ac51ba1..4a91f7cb887 100644 --- a/lib/libc_r/uthread/uthread_readv.c +++ b/lib/libc_r/uthread/uthread_readv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_readv.c,v 1.3 1999/11/25 07:01:42 d Exp $ */ +/* $OpenBSD: uthread_readv.c,v 1.4 2001/08/17 06:52:23 fgsch Exp $ */ /* * Copyright (c) 1995-1998 John Birrell * All rights reserved. @@ -45,7 +45,7 @@ ssize_t readv(int fd, const struct iovec * iov, int iovcnt) { - int ret; + ssize_t ret; int type; /* Lock the file descriptor for read: */ diff --git a/lib/libpthread/uthread/uthread_readv.c b/lib/libpthread/uthread/uthread_readv.c index 1ef0ac51ba1..4a91f7cb887 100644 --- a/lib/libpthread/uthread/uthread_readv.c +++ b/lib/libpthread/uthread/uthread_readv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_readv.c,v 1.3 1999/11/25 07:01:42 d Exp $ */ +/* $OpenBSD: uthread_readv.c,v 1.4 2001/08/17 06:52:23 fgsch Exp $ */ /* * Copyright (c) 1995-1998 John Birrell * All rights reserved. @@ -45,7 +45,7 @@ ssize_t readv(int fd, const struct iovec * iov, int iovcnt) { - int ret; + ssize_t ret; int type; /* Lock the file descriptor for read: */ -- cgit v1.2.3