diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-02-12 03:53:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:34 -0500 |
commit | b19a8f0472cf2fc401c47f585fcd42e770124e06 (patch) | |
tree | 87b4e2d69363d3e79cfb1a957f9c1a28d2ee7a57 /drivers/isdn/hisax/isdnl1.h | |
parent | 010046d0c805ac3bfab1740f4a056af70b84ea46 (diff) |
[PATCH] drivers/isdn/hisax/: proper prototypes
- add functions prototypes for some global functions to header files
- remove unneeded "extern"s from some function prototypes
You might note that this patch results in a new warning - that's due to the
fact that with a proper prototype gcc is able to discover a broken
work_struct conversion.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/isdn/hisax/isdnl1.h')
-rw-r--r-- | drivers/isdn/hisax/isdnl1.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/isdn/hisax/isdnl1.h b/drivers/isdn/hisax/isdnl1.h index 0e88cfabdf10..172ad4c8c961 100644 --- a/drivers/isdn/hisax/isdnl1.h +++ b/drivers/isdn/hisax/isdnl1.h | |||
@@ -21,12 +21,11 @@ | |||
21 | #define B_XMTBUFREADY 1 | 21 | #define B_XMTBUFREADY 1 |
22 | #define B_ACKPENDING 2 | 22 | #define B_ACKPENDING 2 |
23 | 23 | ||
24 | extern void debugl1(struct IsdnCardState *cs, char *fmt, ...); | 24 | void debugl1(struct IsdnCardState *cs, char *fmt, ...); |
25 | extern void DChannel_proc_xmt(struct IsdnCardState *cs); | 25 | void DChannel_proc_xmt(struct IsdnCardState *cs); |
26 | extern void DChannel_proc_rcv(struct IsdnCardState *cs); | 26 | void DChannel_proc_rcv(struct IsdnCardState *cs); |
27 | extern void l1_msg(struct IsdnCardState *cs, int pr, void *arg); | 27 | void l1_msg(struct IsdnCardState *cs, int pr, void *arg); |
28 | extern void l1_msg_b(struct PStack *st, int pr, void *arg); | 28 | void l1_msg_b(struct PStack *st, int pr, void *arg); |
29 | 29 | void Logl2Frame(struct IsdnCardState *cs, struct sk_buff *skb, char *buf, | |
30 | #ifdef L2FRAME_DEBUG | 30 | int dir); |
31 | extern void Logl2Frame(struct IsdnCardState *cs, struct sk_buff *skb, char *buf, int dir); | 31 | void BChannel_bh(struct work_struct *work); |
32 | #endif | ||