diff options
Diffstat (limited to 'lib/libc/time/zic.c')
-rw-r--r-- | lib/libc/time/zic.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/lib/libc/time/zic.c b/lib/libc/time/zic.c index 8ba884209bf..2d6facacbf1 100644 --- a/lib/libc/time/zic.c +++ b/lib/libc/time/zic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zic.c,v 1.30 2007/12/29 22:26:51 millert Exp $ */ +/* $OpenBSD: zic.c,v 1.31 2008/01/07 01:09:37 millert Exp $ */ /* ** This file is in the public domain, so clarified as of ** 2006-07-17 by Arthur David Olson. @@ -163,10 +163,6 @@ static void usage(void); static void writezone(const char * name, const char * string); static int yearistype(int year, const char * type); -#if !HAVE_STRERROR -static char * strerror(int); -#endif /* !HAVE_STRERROR */ - static int charcnt; static int errors; static const char * filename; @@ -408,19 +404,6 @@ char * const ptr; ** Error handling. */ -#if !HAVE_STRERROR -static char * -strerror(errnum) -int errnum; -{ - extern char * sys_errlist[]; - extern int sys_nerr; - - return (errnum > 0 && errnum <= sys_nerr) ? - sys_errlist[errnum] : _("Unknown system error"); -} -#endif /* !HAVE_STRERROR */ - static void eats(name, num, rname, rnum) const char * const name; |