summaryrefslogtreecommitdiff
path: root/missing/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/strerror.c')
-rw-r--r--missing/strerror.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/missing/strerror.c b/missing/strerror.c
deleted file mode 100644
index 44013b3892..0000000000
--- a/missing/strerror.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * strerror.c --- Map an integer error number into a printable string.
- */
-
-extern int sys_nerr;
-extern char *sys_errlist[];
-
-static char msg[50];
-
-char *
-strerror(error)
- int error;
-{
- if ((error <= sys_nerr) && (error > 0)) {
- return sys_errlist[error];
- }
- sprintf (msg, "Unknown error (%d)", error);
- return msg;
-}