aboutsummaryrefslogtreecommitdiffstats
path: root/report.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-01-01 18:49:10 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-01-01 18:49:10 +0000
commitcd46961ec2a691ad01a60af6a40314ded4c27e88 (patch)
tree56feb457e8bacf2a1f8264858b95ff7d1277ad4d /report.c
parent74365ea56ca4d32a2e89410ef407327044096373 (diff)
downloadfetchmail-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.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/report.c b/report.c
index b684ae21..837aeb3f 100644
--- a/report.c
+++ b/report.c
@@ -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 */