Commit 663049635100d7e6b982330a9a42a937fa2e6a68
authorMichel Pollet <buserror@gmail.com>
Thu, 24 Feb 2011 18:01:01 +0000 (18:01 +0000)
committerMichel Pollet <buserror@gmail.com>
Thu, 24 Feb 2011 18:01:01 +0000 (18:01 +0000)
Have to to have several of them...

Signed-off-by: Michel Pollet <buserror@gmail.com>
3 files changed:
examples/parts/hc595.c
examples/parts/hd44780.c
examples/parts/uart_udp.c

index b0441dba8ef6bf90e842b920aef87a88b5209282..b7ef2ad286f890fd44c2f553a237fb5ce98f1f43 100644 (file)
@@ -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] = "8<hc595.in",
                [IRQ_HC595_SPI_BYTE_OUT] = "8>hc595.chain",
                [IRQ_HC595_IN_LATCH] = "<hc595.latch",
index b6c73ff25d488c1c7d96ded0bbf965a62c158f43..39550508311aaebec4e97ed4a7d338a3b76cedab 100644 (file)
@@ -345,7 +345,7 @@ hd44780_pin_changed_hook(
                avr_cycle_timer_register(b->avr, 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] = "<hd44780.RS",
        [IRQ_HD44780_RW] = "<hd44780.RW",
index a0fe7e9e2078b6746072a8b56cb3db9a38857255..78ee698a5eaa8aa55cf07c2d126f0ac74d529c8f 100644 (file)
@@ -124,7 +124,7 @@ static void * uart_udp_thread(void * param)
        }
 }
 
-const char * irq_names[IRQ_UART_UDP_COUNT] = {
+static const char * irq_names[IRQ_UART_UDP_COUNT] = {
        [IRQ_UART_UDP_BYTE_IN] = "8<uart_udp.in",
        [IRQ_UART_UDP_BYTE_OUT] = "8>uart_udp.out",
 };