Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Fix userland build.
details: https://anonhg.NetBSD.org/src/rev/7b827803fbfd
branches: trunk
changeset: 762317:7b827803fbfd
user: enami <enami%NetBSD.org@localhost>
date: Sat Feb 19 08:46:41 2011 +0000
description:
Fix userland build.
diffstat:
sys/net/bpf_filter.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r c3f346c3ad16 -r 7b827803fbfd sys/net/bpf_filter.c
--- a/sys/net/bpf_filter.c Sat Feb 19 07:11:09 2011 +0000
+++ b/sys/net/bpf_filter.c Sat Feb 19 08:46:41 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bpf_filter.c,v 1.44 2011/02/19 04:10:47 christos Exp $ */
+/* $NetBSD: bpf_filter.c,v 1.45 2011/02/19 08:46:41 enami Exp $ */
/*-
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bpf_filter.c,v 1.44 2011/02/19 04:10:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bpf_filter.c,v 1.45 2011/02/19 08:46:41 enami Exp $");
#if 0
#if !(defined(lint) || defined(KERNEL))
@@ -467,9 +467,10 @@
int
bpf_validate(const struct bpf_insn *f, int signed_len)
{
- u_int i, from, len, ok = 0, size;
+ u_int i, from, len, ok = 0;
const struct bpf_insn *p;
#if defined(KERNEL) || defined(_KERNEL)
+ u_int size;
uint16_t *mem, invalid;
#endif
Home |
Main Index |
Thread Index |
Old Index