diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-01-01 18:49:10 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-01-01 18:49:10 +0000 |
commit | cd46961ec2a691ad01a60af6a40314ded4c27e88 (patch) | |
tree | 56feb457e8bacf2a1f8264858b95ff7d1277ad4d /report.c | |
parent | 74365ea56ca4d32a2e89410ef407327044096373 (diff) | |
download | fetchmail-cd46961ec2a691ad01a60af6a40314ded4c27e88.tar.gz fetchmail-cd46961ec2a691ad01a60af6a40314ded4c27e88.tar.bz2 fetchmail-cd46961ec2a691ad01a60af6a40314ded4c27e88.zip |
This version is good.
svn path=/trunk/; revision=2309
Diffstat (limited to 'report.c')
-rw-r--r-- | report.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -90,13 +90,8 @@ unsigned int error_message_count; name of the executing program. */ extern char *program_name; -# if HAVE_STRERROR -# ifndef strerror /* On some systems, strerror is a macro */ -char *strerror (); -# endif -# else -static char * -private_strerror (errnum) +# if !HAVE_STRERROR && !defined(strerror) +char *strerror (errnum) int errnum; { extern char *sys_errlist[]; @@ -106,7 +101,6 @@ private_strerror (errnum) return sys_errlist[errnum]; return _("Unknown system error"); } -# define strerror private_strerror # endif /* HAVE_STRERROR */ #endif /* _LIBC */ |