From e22d644abe550997c3de19a9a40e68799c2a67da Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 14 Dec 1998 23:01:43 +0000 Subject: Corrected prototype to confirm to POSIX 1003.1b. --- cpukit/libcsupport/src/read.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'cpukit/libcsupport/src/read.c') diff --git a/cpukit/libcsupport/src/read.c b/cpukit/libcsupport/src/read.c index 1ed6a0bd00..52f61d9b50 100644 --- a/cpukit/libcsupport/src/read.c +++ b/cpukit/libcsupport/src/read.c @@ -14,13 +14,10 @@ #include "libio_.h" -/* XXX newlib has the prototype for this wrong. It will be a bit painful */ -/* XXX to fix so we are choosing to delay fixing this. */ - -int read( +ssize_t read( int fd, void *buffer, - unsigned32 count + size_t count ) { int rc; /* XXX change to a size_t when prototype is fixed */ -- cgit v1.2.3