diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2003-11-07 02:44:14 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2003-11-07 02:44:14 +0000 |
commit | c61cefb6a3846eb576911368ff9a594ca010ef22 (patch) | |
tree | 6613ef1d183b2873a50ded4c0fbdb2672382a9e8 /contrib/libio/ioperror.c | |
parent | 29b93e91bc7355c95124e05eccf852189d68c536 (diff) |
This commit was manufactured by cvs2svn to create tagvendor/gcc/3.3.3-20031106
'gcc-vendor-gcc_3_3_3_20031106'.
Notes
Notes:
svn path=/vendor/gcc/dist/; revision=122186
svn path=/vendor/gcc/3.3.3-20031106/; revision=122188; tag=vendor/gcc/3.3.3-20031106
Diffstat (limited to 'contrib/libio/ioperror.c')
-rw-r--r-- | contrib/libio/ioperror.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/contrib/libio/ioperror.c b/contrib/libio/ioperror.c deleted file mode 100644 index 7ca72b0bb60b..000000000000 --- a/contrib/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 : ""); -} |