From: Michel Pollet Date: Thu, 24 Feb 2011 18:01:01 +0000 (+0000) Subject: part: Made irq_names static X-Git-Tag: v1.0a7~9 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=663049635100d7e6b982330a9a42a937fa2e6a68;p=sx%2Fsimavr.git part: Made irq_names static Have to to have several of them... Signed-off-by: Michel Pollet --- diff --git a/examples/parts/hc595.c b/examples/parts/hc595.c index b0441db..b7ef2ad 100644 --- a/examples/parts/hc595.c +++ b/examples/parts/hc595.c @@ -63,7 +63,7 @@ static void hc595_reset_hook(struct avr_irq_t * irq, uint32_t value, void * para p->latch = p->value = 0; } -const char * irq_names[IRQ_HC595_COUNT] = { +static const char * irq_names[IRQ_HC595_COUNT] = { [IRQ_HC595_SPI_BYTE_IN] = "8avr, 1, _hd44780_process_e_pinchange, b); } -const char * irq_names[IRQ_HD44780_COUNT] = { +static const char * irq_names[IRQ_HD44780_COUNT] = { [IRQ_HD44780_ALL] = "7=hd44780.pins", [IRQ_HD44780_RS] = "