diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-02-12 03:53:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:34 -0500 |
commit | fc238b3791447b93c69cd50a99dfcaad6162afba (patch) | |
tree | ff98e02c355cfdf0f496e17cfaf81daf5f915270 /drivers/isdn/sc/interrupt.c | |
parent | b19a8f0472cf2fc401c47f585fcd42e770124e06 (diff) |
[PATCH] drivers/isdn/sc/: proper prototypes
Add proper prototypes in a header file for global code under
drivers/isdn/sc/.
Since the GNU C compiler is now able do tell us that caller and callee
disagreed about the number of arguments of setup_buffers(), this patch
also fixes this bug.
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/sc/interrupt.c')
-rw-r--r-- | drivers/isdn/sc/interrupt.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/isdn/sc/interrupt.c b/drivers/isdn/sc/interrupt.c index cd17de18cb76..bef7963cdd02 100644 --- a/drivers/isdn/sc/interrupt.c +++ b/drivers/isdn/sc/interrupt.c | |||
@@ -21,16 +21,6 @@ | |||
21 | #include "card.h" | 21 | #include "card.h" |
22 | #include <linux/interrupt.h> | 22 | #include <linux/interrupt.h> |
23 | 23 | ||
24 | extern int indicate_status(int, int, ulong, char *); | ||
25 | extern void check_phystat(unsigned long); | ||
26 | extern int receivemessage(int, RspMessage *); | ||
27 | extern int sendmessage(int, unsigned int, unsigned int, unsigned int, | ||
28 | unsigned int, unsigned int, unsigned int, unsigned int *); | ||
29 | extern void rcvpkt(int, RspMessage *); | ||
30 | |||
31 | extern int cinst; | ||
32 | extern board *sc_adapter[]; | ||
33 | |||
34 | static int get_card_from_irq(int irq) | 24 | static int get_card_from_irq(int irq) |
35 | { | 25 | { |
36 | int i; | 26 | int i; |