lkml.org 
[lkml]   [2005]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH][2.6.11] generic_serial.h gcc4 fix
Fix

drivers/char/generic_serial.c:38: error: static declaration of 'gs_debug' follows non-static declaration
include/linux/generic_serial.h:94: error: previous declaration of 'gs_debug' was here

compilation error from gcc4 in generic_serial.h.

/Mikael

--- linux-2.6.11/include/linux/generic_serial.h.~1~ 2005-03-02 19:24:19.000000000 +0100
+++ linux-2.6.11/include/linux/generic_serial.h 2005-03-15 17:11:07.000000000 +0100
@@ -91,6 +91,4 @@ int gs_setserial(struct gs_port *port,
int gs_getserial(struct gs_port *port, struct serial_struct __user *sp);
void gs_got_break(struct gs_port *port);

-extern int gs_debug;
-
#endif
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:11    [W:0.321 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site