From 0497b1a87d9a8cc999827db7bb60c9ca618981c5 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 13 Aug 2006 16:14:50 +0200 Subject: [GCC4] fix build error in include/net/irda/irlan_event.h This patch fixes this error with gcc 4 : irlan_common.c:74: error: static declaration of 'irlan_state' follows non-static declaration /usr/src/git/linux-2.4/include/net/irda/irlan_event.h:70: error: previous declaration of 'irlan_state' was here --- include/net/irda/irlan_event.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/net/irda/irlan_event.h b/include/net/irda/irlan_event.h index b9baac9..0765649 100644 --- a/include/net/irda/irlan_event.h +++ b/include/net/irda/irlan_event.h @@ -67,8 +67,6 @@ typedef enum { IRLAN_WATCHDOG_TIMEOUT, } IRLAN_EVENT; -extern char *irlan_state[]; - void irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb); -- 1.4.2