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:
973a8a7
)
[GCC4] fix build error in include/linux/generic_serial.h
author
Willy Tarreau
<w@1wt.eu>
Sun, 13 Aug 2006 08:54:26 +0000
(10:54 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Sun, 13 Aug 2006 15:19:14 +0000
(17:19 +0200)
This patch fixes this error with gcc 4 :
generic_serial.c:36: error: static declaration of 'gs_debug' follows non-static declaration
/usr/src/git/linux-2.4/include/linux/generic_serial.h:101: error: previous declaration of 'gs_debug' was here
include/linux/generic_serial.h
patch
|
blob
|
history
diff --git
a/include/linux/generic_serial.h
b/include/linux/generic_serial.h
index
5c30fc9
..
58773a8
100644
(file)
--- a/
include/linux/generic_serial.h
+++ b/
include/linux/generic_serial.h
@@
-98,6
+98,4
@@
int gs_setserial(struct gs_port *port, struct serial_struct *sp);
int gs_getserial(struct gs_port *port, struct serial_struct *sp);
void gs_got_break(struct gs_port *port);
-extern int gs_debug;
-
#endif