pkgsrc/security/tcp_wrappers/patches/patch-ai
joerg 67630b6afe Fix errno. Replace uchar_t usage with unsigned char directly, the file
got patched anyway. Add DragonFly. Nuke some more prototypes in files
already touched.
2006-01-27 17:33:55 +00:00

18 lines
400 B
Text

$NetBSD: patch-ai,v 1.1 2006/01/27 17:33:55 joerg Exp $
--- inetcf.c.orig 2006-01-27 17:27:06.000000000 +0000
+++ inetcf.c
@@ -12,12 +12,10 @@ static char sccsid[] = "@(#) inetcf.c 1.
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
+#include <stdlib.h>
#include <errno.h>
#include <string.h>
-extern int errno;
-extern void exit();
-
#include "tcpd.h"
#include "inetcf.h"