aboutsummaryrefslogtreecommitdiff
path: root/libgloss/i960/mon-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/i960/mon-write.c')
-rw-r--r--libgloss/i960/mon-write.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libgloss/i960/mon-write.c b/libgloss/i960/mon-write.c
deleted file mode 100644
index 527037f..0000000
--- a/libgloss/i960/mon-write.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <errno.h>
-
-int
-write (int fd, const char *buf, int sz)
-{
- int nwritten;
- int r = _sys_write (fd, buf, sz, &nwritten);
- if (r != 0)
- {
- errno = r;
- return -1;
- }
- return nwritten;
-}