From 3df1453df5115140b5ab5bbf56cd0a4404da9a7b Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 5 Feb 2001 11:01:36 +0000 Subject: Remove libio From-SVN: r39453 --- libio/ioperror.c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 libio/ioperror.c (limited to 'libio/ioperror.c') 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 -#include -#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 : ""); -} -- cgit v1.1