diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2003-08-22 02:57:18 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2003-08-22 02:57:18 +0000 |
commit | ddbc9a07af211ccf92e8e41c965408bb14b79dcb (patch) | |
tree | b607cc201fd90cd0bbb9dbd64e4b2d9f3acad619 /contrib/libg++/libio/ioperror.c | |
parent | 006ca56045367264ed55b8bf2cb0594565911208 (diff) |
Notes
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 : ""); -} |