Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

make drivers/isdn/capi/capiutil.c:cdebbuf_alloc() static

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Adrian Bunk and committed by
Linus Torvalds
3a3a51d1 1a1c9bb4

+1 -8
+1 -7
drivers/isdn/capi/capiutil.c
··· 855 855 static u_long g_debbuf_lock; 856 856 static _cmsg *g_cmsg; 857 857 858 - _cdebbuf *cdebbuf_alloc(void) 858 + static _cdebbuf *cdebbuf_alloc(void) 859 859 { 860 860 _cdebbuf *cdb; 861 861 ··· 989 989 return &g_debbuf; 990 990 } 991 991 992 - _cdebbuf *cdebbuf_alloc(void) 993 - { 994 - return &g_debbuf; 995 - } 996 - 997 992 void cdebbuf_free(_cdebbuf *cdb) 998 993 { 999 994 } ··· 1004 1009 1005 1010 #endif 1006 1011 1007 - EXPORT_SYMBOL(cdebbuf_alloc); 1008 1012 EXPORT_SYMBOL(cdebbuf_free); 1009 1013 EXPORT_SYMBOL(capi_cmsg2message); 1010 1014 EXPORT_SYMBOL(capi_message2cmsg);
-1
include/linux/isdn/capiutil.h
··· 187 187 #define CDEBUG_SIZE 1024 188 188 #define CDEBUG_GSIZE 4096 189 189 190 - _cdebbuf *cdebbuf_alloc(void); 191 190 void cdebbuf_free(_cdebbuf *cdb); 192 191 int cdebug_init(void); 193 192 void cdebug_exit(void);