summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libc/read.c')
-rw-r--r--c/src/lib/libc/read.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/c/src/lib/libc/read.c b/c/src/lib/libc/read.c
index 1ed6a0bd00..52f61d9b50 100644
--- a/c/src/lib/libc/read.c
+++ b/c/src/lib/libc/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 */