From c8f7f94b4ecfd122bf44f7dd86dc75948d7d4294 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 11 May 2001 13:01:01 +0000 Subject: 2001-05-11 Joel Sherrill * libc/write.c: Change type of rc to match return type from underlying function per report from Eric Norum. --- c/src/exec/libcsupport/src/write.c | 2 +- c/src/lib/ChangeLog | 5 +++++ c/src/lib/libc/write.c | 2 +- cpukit/libcsupport/src/write.c | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/c/src/exec/libcsupport/src/write.c b/c/src/exec/libcsupport/src/write.c index d5a03bf08c..71abc87813 100644 --- a/c/src/exec/libcsupport/src/write.c +++ b/c/src/exec/libcsupport/src/write.c @@ -31,7 +31,7 @@ ssize_t write( size_t count ) { - rtems_status_code rc; + ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd ); diff --git a/c/src/lib/ChangeLog b/c/src/lib/ChangeLog index 1431b56f3e..6cdb906d8f 100644 --- a/c/src/lib/ChangeLog +++ b/c/src/lib/ChangeLog @@ -1,3 +1,8 @@ +2001-05-11 Joel Sherrill + + * libc/write.c: Change type of rc to match return type from + underlying function per report from Eric Norum. + 2001-04-27 Ralf Corsepius * configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET. diff --git a/c/src/lib/libc/write.c b/c/src/lib/libc/write.c index d5a03bf08c..71abc87813 100644 --- a/c/src/lib/libc/write.c +++ b/c/src/lib/libc/write.c @@ -31,7 +31,7 @@ ssize_t write( size_t count ) { - rtems_status_code rc; + ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd ); diff --git a/cpukit/libcsupport/src/write.c b/cpukit/libcsupport/src/write.c index d5a03bf08c..71abc87813 100644 --- a/cpukit/libcsupport/src/write.c +++ b/cpukit/libcsupport/src/write.c @@ -31,7 +31,7 @@ ssize_t write( size_t count ) { - rtems_status_code rc; + ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd ); -- cgit v1.2.3