summaryrefslogtreecommitdiff
path: root/misc/xtar/files/patch-common_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xtar/files/patch-common_str.c')
-rw-r--r--misc/xtar/files/patch-common_str.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/xtar/files/patch-common_str.c b/misc/xtar/files/patch-common_str.c
new file mode 100644
index 000000000000..8edb7ce39df4
--- /dev/null
+++ b/misc/xtar/files/patch-common_str.c
@@ -0,0 +1,11 @@
+--- ./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)