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/shmem.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/shmem.c')
-rw-r--r-- | drivers/isdn/sc/shmem.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/isdn/sc/shmem.c b/drivers/isdn/sc/shmem.c index 6f58862992db..034d41a61ae1 100644 --- a/drivers/isdn/sc/shmem.c +++ b/drivers/isdn/sc/shmem.c | |||
@@ -22,12 +22,6 @@ | |||
22 | #include "card.h" | 22 | #include "card.h" |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * Main adapter array | ||
26 | */ | ||
27 | extern board *sc_adapter[]; | ||
28 | extern int cinst; | ||
29 | |||
30 | /* | ||
31 | * | 25 | * |
32 | */ | 26 | */ |
33 | void memcpy_toshmem(int card, void *dest, const void *src, size_t n) | 27 | void memcpy_toshmem(int card, void *dest, const void *src, size_t n) |