opnsense-ports/misc/xtar/files/patch-common_str.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
409 B
C

--- ./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)