Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Build fix for some ports.



details:   https://anonhg.NetBSD.org/src/rev/eb086c11639b
branches:  trunk
changeset: 780656:eb086c11639b
user:      rmind <rmind%NetBSD.org@localhost>
date:      Thu Aug 02 00:40:51 2012 +0000

description:
Build fix for some ports.

diffstat:

 sys/net/bpf.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r e015ba6f54d4 -r eb086c11639b sys/net/bpf.c
--- a/sys/net/bpf.c     Thu Aug 02 00:22:32 2012 +0000
+++ b/sys/net/bpf.c     Thu Aug 02 00:40:51 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bpf.c,v 1.169 2012/08/01 23:24:29 rmind Exp $  */
+/*     $NetBSD: bpf.c,v 1.170 2012/08/02 00:40:51 rmind Exp $  */
 
 /*
  * Copyright (c) 1990, 1991, 1993
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.169 2012/08/01 23:24:29 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bpf.c,v 1.170 2012/08/02 00:40:51 rmind Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_bpf.h"
@@ -124,8 +124,8 @@
 static bool bpf_jit_enable __read_mostly = false;
 
 #ifndef BPF_JIT
-#define        bpf_jit(x, y)   NULL
-#define        bpf_destroy_jit_filter(x)
+#define        bpf_jit(x, y)                   NULL
+#define        bpf_destroy_jit_filter(x)       (void)x
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index