diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2001-03-19 20:56:12 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2001-03-19 20:56:12 +0000 |
commit | dc54a98d057114b4701ceeceeeb16f446ade4cf4 (patch) | |
tree | 797d608e70dda10b0da9a4097457ac5fd8f1bc60 /contrib/libg++/libio/ioperror.c | |
parent | 06b8915d1faf919850dd08fb24caab3f447e37b6 (diff) |
Diffstat (limited to 'contrib/libg++/libio/ioperror.c')
-rw-r--r-- | contrib/libg++/libio/ioperror.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/contrib/libg++/libio/ioperror.c b/contrib/libg++/libio/ioperror.c deleted file mode 100644 index 55d822b63a64d..0000000000000 --- a/contrib/libg++/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 -DEFUN(_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 : ""); -} |