aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/nvptx/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/nvptx/write.c')
-rw-r--r--newlib/libc/machine/nvptx/write.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/machine/nvptx/write.c b/newlib/libc/machine/nvptx/write.c
index 0544dd0..38f0868 100644
--- a/newlib/libc/machine/nvptx/write.c
+++ b/newlib/libc/machine/nvptx/write.c
@@ -18,7 +18,8 @@
#include <unistd.h>
#include <errno.h>
-_READ_WRITE_RETURN_TYPE write (int fd, const void *buf, size_t count)
+ssize_t
+write (int fd, const void *buf, size_t count)
{
size_t i;
char *b = (char *)buf;