diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-11-18 09:25:13 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-11-18 09:25:13 +0000 |
commit | 29250ed861c0a264d19d7fd381c545c61b8965d7 (patch) | |
tree | 1f9c13e99ebf9aba04e0174b23445366146164d1 /misc/xtar | |
parent | Add several new real categories. (diff) |
Fix build on -current (don't mis-declare sys_nerr)
Diffstat (limited to 'misc/xtar')
-rw-r--r-- | misc/xtar/files/patch-aa | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/misc/xtar/files/patch-aa b/misc/xtar/files/patch-aa index bbefe779d309..8edb7ce39df4 100644 --- a/misc/xtar/files/patch-aa +++ b/misc/xtar/files/patch-aa @@ -1,12 +1,11 @@ -*** common/str.c.orig Wed Jul 31 18:04:12 1996 ---- common/str.c Wed Jul 31 18:04:27 1996 -*************** -*** 283,289 **** - char *str_error(int errnum) - { - extern int sys_nerr; -- extern char *sys_errlist[]; - static char ebuf[40]; /* 64-bit number + slop */ - - if ((unsigned int)errnum < sys_nerr) ---- 283,288 ---- +--- ./common/str.c.orig Tue May 9 01:06:46 1995 ++++ ./common/str.c Mon Nov 18 01:23:20 2002 +@@ -282,8 +282,6 @@ + ---------------------------------------------------------------------------*/ + char *str_error(int errnum) + { +- extern int sys_nerr; +- extern char *sys_errlist[]; + static char ebuf[40]; /* 64-bit number + slop */ + + if ((unsigned int)errnum < sys_nerr) |