_intrnames is only used in irq_release() if IRQ_STATS is defined so add an

appropriate guard.
This commit is contained in:
mark 1999-03-16 10:53:50 +00:00
parent ffcc078fe7
commit 1b8eea513f
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: iomd_irqhandler.c,v 1.22 1999/01/22 06:59:26 mark Exp $ */
/* $NetBSD: iomd_irqhandler.c,v 1.23 1999/03/16 10:53:50 mark Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@ -309,7 +309,9 @@ irq_release(irq, handler)
int loop;
irqhandler_t *irqhand;
irqhandler_t **prehand;
#ifdef IRQSTATS
extern char *_intrnames;
#endif
/*
* IRQ_INSTRUCT indicates that we should get the irq number