[Linux-parport] [2.6 patch] include/linux/parport_pc.h: "extern inline" -> "static inline"

Adrian Bunk bunk at stusta.de
Sun Dec 11 20:35:42 EST 2005


"extern inline" doesn't make much sense.


Signed-off-by: Adrian Bunk <bunk at stusta.de>

---

This patch was already sent on:
- 19 Nov 2005

--- linux-2.6.15-rc1-mm2-full/include/linux/parport_pc.h.old	2005-11-19 02:33:28.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/include/linux/parport_pc.h	2005-11-19 02:33:44.000000000 +0100
@@ -79,7 +79,7 @@
 }
 
 #ifdef DEBUG_PARPORT
-extern __inline__ void dump_parport_state (char *str, struct parport *p)
+static inline void dump_parport_state (char *str, struct parport *p)
 {
 	/* here's hoping that reading these ports won't side-effect anything underneath */
 	unsigned char ecr = inb (ECONTROL (p));




More information about the Linux-parport mailing list