openbsd-ports/net/arpcatch/patches/patch-config_c

19 lines
536 B
Plaintext

$OpenBSD: patch-config_c,v 1.2 2005/04/03 19:20:58 naddy Exp $
--- config.c.orig Mon Nov 24 12:18:54 1997
+++ config.c Sun Apr 3 21:15:59 2005
@@ -1,14 +1,11 @@
#include "arpcatch.h"
#include <sys/types.h>
#include <sys/socket.h>
-#include <net/ethernet.h>
static list_t *add_host(char *buffer, list_t *hosts);
static int add_proxy(char *buffer, table_t *at);
static void config_error(char *, int);
-
-extern struct ether_addr *ether_aton(char *);
int compare_ip(const void *a, const void *b) {
struct in_addr *ia, *ib;