aboutsummaryrefslogtreecommitdiff
path: root/libgloss/msp430/unlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/msp430/unlink.c')
-rw-r--r--libgloss/msp430/unlink.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/libgloss/msp430/unlink.c b/libgloss/msp430/unlink.c
deleted file mode 100644
index 1c8c6f233..000000000
--- a/libgloss/msp430/unlink.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <string.h>
-
-#include "cio.h"
-
-signed int
-unlink (const char * name)
-{
- unsigned len = strlen (name);
-
- if (len >= CIO_BUF_SIZE)
- return -1;
-
- __CIOBUF__.length[0] = len;
- __CIOBUF__.length[1] = len >> 8;
- __CIOBUF__.parms[0] = CIO_UNLINK;
- __CIOBUF__.parms[1] = len;
- __CIOBUF__.parms[2] = len >> 8;
- memcpy (__CIOBUF__.buf, name, len);
-
- _libgloss_cio_hook ();
-
- return __CIOBUF__.parms[0] + __CIOBUF__.parms[1] * 256;
-}
-
-