aboutsummaryrefslogtreecommitdiff
path: root/libio/ioperror.c
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>2001-02-05 11:01:36 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2001-02-05 11:01:36 +0000
commit3df1453df5115140b5ab5bbf56cd0a4404da9a7b (patch)
tree7d2c2f4379041aeae8b380308e1294d0a49ff67a /libio/ioperror.c
parent39d6f2e8a535c22254682e99e59d63481aab8dfe (diff)
downloadgcc-3df1453df5115140b5ab5bbf56cd0a4404da9a7b.zip
gcc-3df1453df5115140b5ab5bbf56cd0a4404da9a7b.tar.gz
gcc-3df1453df5115140b5ab5bbf56cd0a4404da9a7b.tar.bz2
Remove libio
From-SVN: r39453
Diffstat (limited to 'libio/ioperror.c')
-rw-r--r--libio/ioperror.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/libio/ioperror.c b/libio/ioperror.c
deleted file mode 100644
index 7ca72b0..0000000
--- a/libio/ioperror.c
+++ /dev/null
@@ -1,22 +0,0 @@
-#include "libioP.h"
-#include <errno.h>
-#include <string.h>
-#ifndef errno
-extern int errno;
-#endif
-
-#ifndef _IO_strerror
-extern char* _IO_strerror __P((int));
-#endif
-
-void
-_IO_perror (s)
- const char *s;
-{
- char *error = _IO_strerror (errno);
-
- if (s != NULL && *s != '\0')
- _IO_fprintf (_IO_stderr, "%s:", s);
-
- _IO_fprintf (_IO_stderr, "%s\n", error ? error : "");
-}