OSDN Git Service
(root)
/
linux-kernel-docs
/
linux-2.4.36.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9b66e4
)
[GCC4] fix build error in include/net/irda/irlan_event.h
author
Willy Tarreau
<w@1wt.eu>
Sun, 13 Aug 2006 14:14:50 +0000
(16:14 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Sun, 13 Aug 2006 15:19:16 +0000
(17:19 +0200)
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
patch
|
blob
|
history
diff --git
a/include/net/irda/irlan_event.h
b/include/net/irda/irlan_event.h
index
b9baac9
..
0765649
100644
(file)
--- 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);