diff options
author | mike <mike@FreeBSD.org> | 2002-07-09 01:16:18 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-07-09 01:16:18 +0000 |
commit | 0724f323cfa7c89041523df96994592efab44fc0 (patch) | |
tree | f83f4ca1090002251b686fed8159182d74f9f90f | |
parent | 48d5c9ed0e44969508ef8add6c8337a8fce7f513 (diff) | |
download | FreeBSD-src-0724f323cfa7c89041523df96994592efab44fc0.zip FreeBSD-src-0724f323cfa7c89041523df96994592efab44fc0.tar.gz |
Move the type definition of ointhand2_t from i386/include/types.h to
i386/isa/isa_device.h. This is a more appropriate location and
helps restrict <machine/types.h> to only types that exist on all
platforms.
-rw-r--r-- | sys/i386/include/types.h | 3 | ||||
-rw-r--r-- | sys/i386/isa/isa_device.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/i386/include/types.h b/sys/i386/include/types.h index 830fcdd..38c6220 100644 --- a/sys/i386/include/types.h +++ b/sys/i386/include/types.h @@ -66,7 +66,4 @@ typedef register_t critical_t; /* Interrupt mask (spl, xxx_imask, etc) */ typedef __uint32_t intrmask_t; -/* Interrupt handler function type. */ -typedef void ointhand2_t(int _device_id); - #endif /* !_MACHINE_TYPES_H_ */ diff --git a/sys/i386/isa/isa_device.h b/sys/i386/isa/isa_device.h index bb2ed43..06274ed 100644 --- a/sys/i386/isa/isa_device.h +++ b/sys/i386/isa/isa_device.h @@ -48,6 +48,10 @@ */ #ifdef COMPAT_OLDISA + +/* Interrupt handler function type. */ +typedef void ointhand2_t(int _device_id); + /* * Per device structure. */ |