From 0724f323cfa7c89041523df96994592efab44fc0 Mon Sep 17 00:00:00 2001 From: mike Date: Tue, 9 Jul 2002 01:16:18 +0000 Subject: [PATCH] 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 to only types that exist on all platforms. --- sys/i386/include/types.h | 3 --- 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 830fcdda9f8a..38c62203c1a8 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 bb2ed43b8553..06274ed3f592 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. */