From 9aa669fc968e968f619bc1280aac365177326419 Mon Sep 17 00:00:00 2001 From: Shane Kerr Date: Thu, 23 Aug 2007 09:49:51 +0000 Subject: Warning-enabled build fixes for BSD. --- common/bpf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/bpf.c') diff --git a/common/bpf.c b/common/bpf.c index d6f92a75..08fbf242 100644 --- a/common/bpf.c +++ b/common/bpf.c @@ -226,9 +226,10 @@ void if_register_receive (info) { int flag = 1; struct bpf_version v; - u_int32_t addr; struct bpf_program p; +#ifdef NEED_OSF_PFILT_HACKS u_int32_t bits; +#endif #ifdef DEC_FDDI int link_layer; #endif /* DEC_FDDI */ @@ -356,7 +357,6 @@ ssize_t send_packet (interface, packet, raw, len, from, to, hto) double ip [32]; struct iovec iov [3]; int result; - int fudge; if (!strcmp (interface -> name, "fallback")) return send_fallback (interface, packet, raw, -- cgit v1.2.1