[PATCH] drivers/isdn/: "extern inline" -> "static inline"
authorAdrian Bunk <bunk@stusta.de>
Sun, 8 Jan 2006 09:02:16 +0000 (01:02 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:48 +0000 (20:13 -0800)
"extern inline" -> "static inline"

Since there's no pullphone() function this patch removes the dead
prototype.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/isdn/act2000/act2000.h
drivers/isdn/act2000/capi.h
drivers/isdn/sc/command.c

index b091d1a54125ce38f32977b7eb416562ab8ee675..d4c50512a1ffc038795acb06248e1b245f63f3a5 100644 (file)
@@ -181,17 +181,17 @@ typedef struct act2000_card {
        char regname[35];               /* Name used for request_region     */
 } act2000_card;
 
-extern __inline__ void act2000_schedule_tx(act2000_card *card)
+static inline void act2000_schedule_tx(act2000_card *card)
 {
         schedule_work(&card->snd_tq);
 }
 
-extern __inline__ void act2000_schedule_rx(act2000_card *card)
+static inline void act2000_schedule_rx(act2000_card *card)
 {
         schedule_work(&card->rcv_tq);
 }
 
-extern __inline__ void act2000_schedule_poll(act2000_card *card)
+static inline void act2000_schedule_poll(act2000_card *card)
 {
         schedule_work(&card->poll_tq);
 }
index f6d5f530b86be8e3d434ca17244ff2b9591b2623..e82a9289ad96693ab214ad8709003abacf2e9d8d 100644 (file)
@@ -330,7 +330,7 @@ typedef struct actcapi_msg {
        } msg;
 } actcapi_msg;
 
-extern __inline__ unsigned short
+static inline unsigned short
 actcapi_nextsmsg(act2000_card *card)
 {
        unsigned long flags;
index 19f2fcf0ae4a2f579eabac0e9b5720eec8b9f209..b4b24335f7165b0e5de378a637ca98ab7697d702 100644 (file)
@@ -43,7 +43,6 @@ extern int send_and_receive(int, unsigned int, unsigned char, unsigned char,
                 RspMessage *, int);
 extern int sendmessage(int, unsigned int, unsigned int, unsigned int,
                 unsigned int, unsigned int, unsigned int, unsigned int *);
-extern inline void pullphone(char *, char *);
 
 #ifdef DEBUG
 /*