diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-02-12 08:53:18 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 17:48:34 (GMT) |
commit | fc238b3791447b93c69cd50a99dfcaad6162afba (patch) | |
tree | ff98e02c355cfdf0f496e17cfaf81daf5f915270 /drivers/isdn/sc/shmem.c | |
parent | b19a8f0472cf2fc401c47f585fcd42e770124e06 (diff) | |
download | linux-fc238b3791447b93c69cd50a99dfcaad6162afba.tar.xz |
[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 6f58862..034d41a 100644 --- a/drivers/isdn/sc/shmem.c +++ b/drivers/isdn/sc/shmem.c @@ -22,12 +22,6 @@ #include "card.h" /* - * Main adapter array - */ -extern board *sc_adapter[]; -extern int cinst; - -/* * */ void memcpy_toshmem(int card, void *dest, const void *src, size_t n) |