Skip to content

Commit 3a3a51d

Browse files
AdrianBunkLinus Torvalds
authored andcommitted
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>
1 parent 1a1c9bb commit 3a3a51d

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

‎drivers/isdn/capi/capiutil.c‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ static _cdebbuf *g_debbuf;
855855
static u_long g_debbuf_lock;
856856
static _cmsg *g_cmsg;
857857

858-
_cdebbuf *cdebbuf_alloc(void)
858+
static _cdebbuf *cdebbuf_alloc(void)
859859
{
860860
_cdebbuf *cdb;
861861

@@ -989,11 +989,6 @@ _cdebbuf *capi_cmsg2str(_cmsg * cmsg)
989989
return &g_debbuf;
990990
}
991991

992-
_cdebbuf *cdebbuf_alloc(void)
993-
{
994-
return &g_debbuf;
995-
}
996-
997992
void cdebbuf_free(_cdebbuf *cdb)
998993
{
999994
}
@@ -1009,7 +1004,6 @@ void __exit cdebug_exit(void)
10091004

10101005
#endif
10111006

1012-
EXPORT_SYMBOL(cdebbuf_alloc);
10131007
EXPORT_SYMBOL(cdebbuf_free);
10141008
EXPORT_SYMBOL(capi_cmsg2message);
10151009
EXPORT_SYMBOL(capi_message2cmsg);

‎include/linux/isdn/capiutil.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ typedef struct {
187187
#define CDEBUG_SIZE 1024
188188
#define CDEBUG_GSIZE 4096
189189

190-
_cdebbuf *cdebbuf_alloc(void);
191190
void cdebbuf_free(_cdebbuf *cdb);
192191
int cdebug_init(void);
193192
void cdebug_exit(void);

0 commit comments

Comments
 (0)