Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sysmon We only need the _cd when we are a module.
details: https://anonhg.NetBSD.org/src/rev/782dd024962c
branches: trunk
changeset: 807859:782dd024962c
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 24 19:49:24 2015 +0000
description:
We only need the _cd when we are a module.
diffstat:
sys/dev/sysmon/swwdog.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 48a2a1592e16 -r 782dd024962c sys/dev/sysmon/swwdog.c
--- a/sys/dev/sysmon/swwdog.c Fri Apr 24 18:03:38 2015 +0000
+++ b/sys/dev/sysmon/swwdog.c Fri Apr 24 19:49:24 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: swwdog.c,v 1.16 2015/04/23 23:23:01 pgoyette Exp $ */
+/* $NetBSD: swwdog.c,v 1.17 2015/04/24 19:49:24 christos Exp $ */
/*
* Copyright (c) 2004, 2005 Steven M. Bellovin
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: swwdog.c,v 1.16 2015/04/23 23:23:01 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: swwdog.c,v 1.17 2015/04/24 19:49:24 christos Exp $");
/*
*
@@ -71,7 +71,9 @@
MODULE(MODULE_CLASS_DRIVER, swwdog, "sysmon_wdog");
+#ifdef _MODULE
CFDRIVER_DECL(swwdog, DV_DULL, NULL);
+#endif
int swwdogattach(int);
Home |
Main Index |
Thread Index |
Old Index