summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-11 13:01:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-05-11 13:01:01 +0000
commitc8f7f94b4ecfd122bf44f7dd86dc75948d7d4294 (patch)
treec6096618e4e60f623454db0f59d719dd8e4b6bd8
parent2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-c8f7f94b4ecfd122bf44f7dd86dc75948d7d4294.tar.bz2
2001-05-11 Joel Sherrill <joel@OARcorp.com>
* libc/write.c: Change type of rc to match return type from underlying function per report from Eric Norum.
Diffstat (limited to '')
-rw-r--r--c/src/exec/libcsupport/src/write.c2
-rw-r--r--c/src/lib/ChangeLog5
-rw-r--r--c/src/lib/libc/write.c2
-rw-r--r--cpukit/libcsupport/src/write.c2
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 <joel@OARcorp.com>
+
+ * libc/write.c: Change type of rc to match return type from
+ underlying function per report from Eric Norum.
+
2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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 );