summaryrefslogtreecommitdiff
path: root/trunk/missing/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/missing/strerror.c')
-rw-r--r--trunk/missing/strerror.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/trunk/missing/strerror.c b/trunk/missing/strerror.c
deleted file mode 100644
index 023935a1ff..0000000000
--- a/trunk/missing/strerror.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* public domain rewrite of strerror(3) */
-
-extern int sys_nerr;
-extern char *sys_errlist[];
-
-static char msg[50];
-
-char *
-strerror(int error)
-{
- if (error <= sys_nerr && error > 0) {
- return sys_errlist[error];
- }
- sprintf(msg, "Unknown error (%d)", error);
- return msg;
-}