summaryrefslogtreecommitdiff
path: root/drivers/isdn/sc/shmem.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-02-12 11:53:18 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 20:48:34 +0300
commitfc238b3791447b93c69cd50a99dfcaad6162afba (patch)
treeff98e02c355cfdf0f496e17cfaf81daf5f915270 /drivers/isdn/sc/shmem.c
parentb19a8f0472cf2fc401c47f585fcd42e770124e06 (diff)
downloadlinux-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.c6
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 @@
#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)