From cd46961ec2a691ad01a60af6a40314ded4c27e88 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 1 Jan 1999 18:49:10 +0000 Subject: This version is good. svn path=/trunk/; revision=2309 --- report.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'report.c') 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 */ -- cgit v1.2.3