pkgsrc/x11/kterm/patches/patch-ac
joerg 4d7bb9ad02 Bring this a bit nearer to ANSI C to unbreak compilation on DragonFly.
Namely, use errno from errno.h, malloc, realloc and exit from stdlib.h.
2005-11-29 06:18:52 +00:00

12 lines
276 B
Text

$NetBSD: patch-ac,v 1.3 2005/11/29 06:18:52 joerg Exp $
--- data.h.orig 2005-11-29 06:09:00.000000000 +0000
+++ data.h
@@ -65,7 +65,6 @@ extern int bcnt;
#ifdef DEBUG
extern int debug;
#endif /* DEBUG */
-extern int errno;
extern int max_plus1;
extern int switchfb[];