pkgsrc/x11/xforms/patches/patch-ag
dholland 208c309673 Fix pkglint; fix whitespace in patches; add patch comments.
Improve patch-ag to never attempt to declare errno.
2012-07-30 02:53:57 +00:00

14 lines
379 B
Text

$NetBSD: patch-ag,v 1.3 2012/07/30 02:53:57 dholland Exp $
Don't try to declare own errno.
--- lib/errmsg.c.orig 2002-05-30 17:23:26.000000000 +0000
+++ lib/errmsg.c
@@ -51,7 +51,6 @@ char *id_errm = "$Id: errmsg.c,v 0.80 19
#include "forms.h"
#include "ulib.h"
-extern int errno; /* system error no */
#ifdef DONT_HAVE_STRERROR
extern char *sys_errlist[];