openbsd-ports/misc/xtar/patches/patch-common_str_c

12 lines
425 B
Plaintext
Raw Normal View History

2007-10-26 18:00:31 -04:00
$OpenBSD: patch-common_str_c,v 1.1 2007/10/26 22:00:31 ajacoutot Exp $
2000-06-06 18:31:53 -04:00
--- common/str.c.orig Tue May 9 10:06:46 1995
2007-10-26 18:00:31 -04:00
+++ common/str.c Fri Oct 26 23:58:56 2007
2000-06-06 18:31:53 -04:00
@@ -283,7 +283,6 @@ char *str_word(char **string)
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)