Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net/npf modules don't define MODULAR.
details: https://anonhg.NetBSD.org/src/rev/1031fedeff4f
branches: trunk
changeset: 341246:1031fedeff4f
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 27 19:58:09 2015 +0000
description:
modules don't define MODULAR.
diffstat:
sys/net/npf/npf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d730b30e7133 -r 1031fedeff4f sys/net/npf/npf.c
--- a/sys/net/npf/npf.c Tue Oct 27 19:31:55 2015 +0000
+++ b/sys/net/npf/npf.c Tue Oct 27 19:58:09 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npf.c,v 1.29 2015/10/27 19:31:55 christos Exp $ */
+/* $NetBSD: npf.c,v 1.30 2015/10/27 19:58:09 christos Exp $ */
/*-
* Copyright (c) 2009-2013 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.29 2015/10/27 19:31:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.30 2015/10/27 19:58:09 christos Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -175,7 +175,7 @@
switch (cmd) {
case MODULE_CMD_INIT:
-#ifdef MODULAR
+#if defined(MODULAR) || defined(_MODULE)
return npf_init();
#else
/* initialized by npfattach */
Home |
Main Index |
Thread Index |
Old Index