From c3a1a84ac4ab349cae4edd4ea4916d441e5592d2 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 18 Jun 2002 18:13:14 +0000 Subject: FreeBSD is one of the OS's that does not require the use of libio with Gcc 3.1. --- contrib/libio/ioperror.c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 contrib/libio/ioperror.c (limited to 'contrib/libio/ioperror.c') diff --git a/contrib/libio/ioperror.c b/contrib/libio/ioperror.c deleted file mode 100644 index 7ca72b0bb60b1..0000000000000 --- a/contrib/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.2.3