[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>
This commit is contained in:
committed by
Linus Torvalds
parent
b19a8f0472
commit
fc238b3791
@@ -20,16 +20,6 @@
|
||||
#include "message.h"
|
||||
#include "card.h"
|
||||
|
||||
extern board *sc_adapter[];
|
||||
extern unsigned int cinst;
|
||||
|
||||
extern int get_card_from_id(int);
|
||||
extern int indicate_status(int, int,ulong, char*);
|
||||
extern void memcpy_toshmem(int, void *, const void *, size_t);
|
||||
extern void memcpy_fromshmem(int, void *, const void *, size_t);
|
||||
extern int sendmessage(int, unsigned int, unsigned int, unsigned int,
|
||||
unsigned int, unsigned int, unsigned int, unsigned int *);
|
||||
|
||||
int sndpkt(int devId, int channel, struct sk_buff *data)
|
||||
{
|
||||
LLData ReqLnkWrite;
|
||||
|
Reference in New Issue
Block a user