diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_sensors.c | 4 | ||||
-rw-r--r-- | sys/sys/sensors.h | 4 |
2 files changed, 3 insertions, 5 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; diff --git a/sys/sys/sensors.h b/sys/sys/sensors.h index b1bf848a14a..f4f3c42576c 100644 --- a/sys/sys/sensors.h +++ b/sys/sys/sensors.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sensors.h,v 1.14 2006/01/28 09:53:37 dlg Exp $ */ +/* $OpenBSD: sensors.h,v 1.15 2006/03/12 13:48:32 dlg Exp $ */ /* * Copyright (c) 2003, 2004 Alexander Yurchenko <grange@openbsd.org> @@ -81,8 +81,6 @@ struct sensor { #define SENSOR_FUNKNOWN 0x0002 /* sensor value is unknown */ }; -SLIST_HEAD(sensors_head, sensor); - #ifdef _KERNEL void sensor_add(struct sensor *); |