* [2.6 patch] include/linux/parport_pc.h: "extern inline" -> "static inline"
@ 2005-11-19 8:11 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-11-19 8:11 UTC (permalink / raw)
To: philb, tim, campbell, andrea; +Cc: linux-parport, linux-kernel
"extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- 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));
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] include/linux/parport_pc.h: "extern inline" -> "static inline"
@ 2005-12-12 1:35 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-12-12 1:35 UTC (permalink / raw)
To: Andrew Morton; +Cc: philb, tim, campbell, andrea, linux-parport, linux-kernel
"extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@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));
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-12 1:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-19 8:11 [2.6 patch] include/linux/parport_pc.h: "extern inline" -> "static inline" Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-12-12 1:35 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox