Restore the intr_* array variables that were removed in the previous

revision.  They caused redundant redeclaration warnings because I
forgot to declare them as extern and gcc-2.6.0 treats "extern int x[];"
slightly different from "int x[];" (this is probably a bug).  The new
versions will cause RR warnings from gcc-2.4.5 because it does not
understand that the second declaration in "extern int x[]; int x[1];"
is not redundant.  The variables don't actually need to be declared
in a header file because they are used in only one C source file and
one assembler source file, but I want all public variables and
comments about them to be findable by grepping *.h.
This commit is contained in:
Bruce Evans 1994-08-22 15:58:40 +00:00
parent 53c89efc34
commit f0b544e99e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2219

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa_device.h 7.1 (Berkeley) 5/9/91
* $Id: isa_device.h,v 1.6 1994/08/18 05:09:33 davidg Exp $
* $Id: isa_device.h,v 1.7 1994/08/20 03:48:41 davidg Exp $
*/
#ifndef _I386_ISA_ISA_DEVICE_H_
@ -93,6 +93,10 @@ struct isa_driver {
extern char eintrnames[]; /* end of intrnames[] */
extern u_long intrcnt[]; /* counts for for each device and stray */
extern char intrnames[]; /* string table containing device names */
extern u_long *intr_countp[]; /* indirectors into intrcnt[] */
extern inthand2_t *intr_handler[]; /* C entry points of intr handlers */
extern u_int intr_mask[]; /* sets of intrs masked during handling of 1 */
extern int intr_unit[]; /* cookies to pass to intr handlers */
extern struct isa_device isa_devtab_bio[], isa_devtab_tty[], isa_devtab_net[],
isa_devtab_null[], isa_biotab_wdc[], isa_biotab_fdc[];