diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-03-22 16:55:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-03-22 16:55:32 +0000 |
commit | bfcfcc95f91a9ef756b3184426381561b7f4dc23 (patch) | |
tree | 86156fd65b4c74f4b929cb5bcd06ed881f46f591 /sys/dev/usb | |
parent | d0617786c492a05d286defedc41f1cac5a22411d (diff) |
split userland & kernel struct sensor/sensordev so that the addition
of new fields in the future is less disruptive. This is done similar
to how struct proc is handled for ps(1). ok jmc (man page changes)
tested fkr simon, and more suggestions from millert
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/udcf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/udcf.c b/sys/dev/usb/udcf.c index ea7adb909ec..85bbc7beb5e 100644 --- a/sys/dev/usb/udcf.c +++ b/sys/dev/usb/udcf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udcf.c,v 1.29 2007/01/02 22:40:22 mbalmer Exp $ */ +/* $OpenBSD: udcf.c,v 1.30 2007/03/22 16:55:31 deraadt Exp $ */ /* * Copyright (c) 2006 Marc Balmer <mbalmer@openbsd.org> @@ -98,11 +98,11 @@ struct udcf_softc { time_t sc_last; int sc_nrecv; /* consecutive valid times */ struct timeval sc_last_tv; /* uptime of last valid time */ - struct sensor sc_sensor; + struct ksensor sc_sensor; #ifdef UDCF_DEBUG - struct sensor sc_skew; /* recv vs local skew */ + struct ksensor sc_skew; /* recv vs local skew */ #endif - struct sensordev sc_sensordev; + struct ksensordev sc_sensordev; }; /* |