Remove useless symbol declarations from headers, make symbols local where possible, add some explicit initialization to global variables.
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
#include "hw_intr.h"
|
||||
|
||||
/* number of lists of IRQ hooks, one list per supported line. */
|
||||
PUBLIC irq_hook_t* irq_handlers[NR_IRQ_VECTORS] = {0};
|
||||
PRIVATE irq_hook_t* irq_handlers[NR_IRQ_VECTORS] = {0};
|
||||
|
||||
/*===========================================================================*
|
||||
* put_irq_handler *
|
||||
*===========================================================================*/
|
||||
|
||||
Reference in New Issue
Block a user