Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sysmon Don't export sysmon_envsys_list as a common.
details: https://anonhg.NetBSD.org/src/rev/0542c060667f
branches: trunk
changeset: 777419:0542c060667f
user: matt <matt%NetBSD.org@localhost>
date: Sat Feb 18 01:08:00 2012 +0000
description:
Don't export sysmon_envsys_list as a common.
diffstat:
sys/dev/sysmon/sysmon_envsys.c | 6 ++++--
sys/dev/sysmon/sysmon_envsysvar.h | 5 +++--
2 files changed, 7 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r afb5819b1808 -r 0542c060667f sys/dev/sysmon/sysmon_envsys.c
--- a/sys/dev/sysmon/sysmon_envsys.c Sat Feb 18 00:36:57 2012 +0000
+++ b/sys/dev/sysmon/sysmon_envsys.c Sat Feb 18 01:08:00 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmon_envsys.c,v 1.117 2011/08/01 12:28:53 mbalmer Exp $ */
+/* $NetBSD: sysmon_envsys.c,v 1.118 2012/02/18 01:08:00 matt Exp $ */
/*-
* Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.117 2011/08/01 12:28:53 mbalmer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.118 2012/02/18 01:08:00 matt Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -86,6 +86,8 @@
prop_dictionary_t sme_propd;
+struct sysmon_envsys_lh sysmon_envsys_list;
+
static uint32_t sysmon_envsys_next_sensor_index;
static struct sysmon_envsys *sysmon_envsys_find_40(u_int);
diff -r afb5819b1808 -r 0542c060667f sys/dev/sysmon/sysmon_envsysvar.h
--- a/sys/dev/sysmon/sysmon_envsysvar.h Sat Feb 18 00:36:57 2012 +0000
+++ b/sys/dev/sysmon/sysmon_envsysvar.h Sat Feb 18 01:08:00 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysmon_envsysvar.h,v 1.40 2011/06/19 03:09:43 pgoyette Exp $ */
+/* $NetBSD: sysmon_envsysvar.h,v 1.41 2012/02/18 01:08:00 matt Exp $ */
/*-
* Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -105,7 +105,8 @@
/*
* linked list for the sysmon envsys devices.
*/
-LIST_HEAD(, sysmon_envsys) sysmon_envsys_list;
+LIST_HEAD(sysmon_envsys_lh, sysmon_envsys);
+extern struct sysmon_envsys_lh sysmon_envsys_list;
/*
* functions to handle sysmon envsys devices.
Home |
Main Index |
Thread Index |
Old Index