summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/rtems_syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_syscall.c')
-rw-r--r--cpukit/libnetworking/rtems/rtems_syscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_syscall.c b/cpukit/libnetworking/rtems/rtems_syscall.c
index acba1f8322..7e6210c091 100644
--- a/cpukit/libnetworking/rtems/rtems_syscall.c
+++ b/cpukit/libnetworking/rtems/rtems_syscall.c
@@ -659,13 +659,13 @@ rtems_bsdnet_close (rtems_libio_t *iop)
return 0;
}
-static int
+static ssize_t
rtems_bsdnet_read (rtems_libio_t *iop, void *buffer, unsigned32 count)
{
return recv (iop->data0, buffer, count, 0);
}
-static int
+static ssize_t
rtems_bsdnet_write (rtems_libio_t *iop, const void *buffer, unsigned32 count)
{
return send (iop->data0, buffer, count, 0);