diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-03-12 13:48:33 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-03-12 13:48:33 +0000 |
commit | d77df7517e58d241712fd5e8e1534dd0f8b046be (patch) | |
tree | 7db920a2027ca384c891395bffbe28eda3812403 /sys/kern | |
parent | 160239d71e753a9ca9aa27f54cc6c31b6938235d (diff) |
sensors_head is only used in kern_sensors.c, so its unnecessay to declare
it in sensors.h.
from Constantine A. Murenin
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_sensors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sensors.c b/sys/kern/kern_sensors.c index 4d78912687b..c5ef25b1af7 100644 --- a/sys/kern/kern_sensors.c +++ b/sys/kern/kern_sensors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sensors.c,v 1.7 2006/01/28 09:53:37 dlg Exp $ */ +/* $OpenBSD: kern_sensors.c,v 1.8 2006/03/12 13:48:32 dlg Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -28,7 +28,7 @@ #include <sys/sensors.h> int sensors_count = 0; -struct sensors_head sensors_list = SLIST_HEAD_INITIALIZER(&sensors_list); +SLIST_HEAD(, sensor) sensors_list = SLIST_HEAD_INITIALIZER(&sensors_list); struct sensor_task { void *arg; |