diff options
Diffstat (limited to 'c/src/lib/libc/write.c')
-rw-r--r-- | c/src/lib/libc/write.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/c/src/lib/libc/write.c b/c/src/lib/libc/write.c index 3de21f0d0f..4b4d076185 100644 --- a/c/src/lib/libc/write.c +++ b/c/src/lib/libc/write.c @@ -22,13 +22,10 @@ * to the file associated with the open file descriptor, fildes. */ -/* 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 write( /* XXX this should return a ssize_t */ +ssize_t write( int fd, const void *buffer, - unsigned32 count /* XXX this should be a size_t */ + size_t count ) { rtems_status_code rc; |