diff options
author | bde <bde@FreeBSD.org> | 1998-06-18 15:32:09 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-18 15:32:09 +0000 |
commit | 5f62f0e8d098c625160e74c3257b2c9eae1a8cc2 (patch) | |
tree | df02485b79b159afa1982eac17e611a52c457f44 /sys/i386/include/types.h | |
parent | ee69dd69c584a8a7bd6cb1a59e16ade77758ff6a (diff) | |
download | FreeBSD-src-5f62f0e8d098c625160e74c3257b2c9eae1a8cc2.zip FreeBSD-src-5f62f0e8d098c625160e74c3257b2c9eae1a8cc2.tar.gz |
Changed the type of an isa/general interrupt handler to take a
`void *' arg. Fixed or hid most of the resulting type mismatches.
Handlers can now be updated locally (except for reworking their
global declarations in isa_device.h).
Diffstat (limited to 'sys/i386/include/types.h')
-rw-r--r-- | sys/i386/include/types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/include/types.h b/sys/i386/include/types.h index b906d83..50f9c33 100644 --- a/sys/i386/include/types.h +++ b/sys/i386/include/types.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)types.h 8.3 (Berkeley) 1/5/94 - * $Id: types.h,v 1.11 1997/05/31 09:07:36 peter Exp $ + * $Id: types.h,v 1.12 1998/06/14 14:08:21 bde Exp $ */ #ifndef _MACHINE_TYPES_H_ @@ -76,7 +76,7 @@ typedef __uint64_t uoff_t; /* unsigned file offset */ /* Interrupt mask (spl, xxx_imask, etc) */ typedef u_int32_t intrmask_t; -/* Interrupt handler function type - arg should be "void *" one day */ -typedef void inthand2_t __P((int _unit)); +/* Interrupt handler function type. */ +typedef void inthand2_t __P((void *_cookie)); #endif /* !_MACHINE_TYPES_H_ */ |