pkgsrc/security/tcp_wrappers/patches/patch-aj
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

20 lines
466 B
Text

$NetBSD: patch-aj,v 1.1 2006/01/27 17:33:55 joerg Exp $
--- tcpdchk.c.orig 2006-01-27 17:28:34.000000000 +0000
+++ tcpdchk.c
@@ -25,14 +25,13 @@ static char sccsid[] = "@(#) tcpdchk.c 1
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
+#include <stdlib.h>
#include <syslog.h>
#include <setjmp.h>
#include <errno.h>
#include <netdb.h>
#include <string.h>
-extern int errno;
-extern void exit();
extern int optind;
extern char *optarg;