Skip to content

Commit

Permalink
make drivers/isdn/capi/capiutil.c:cdebbuf_alloc() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed May 8, 2007
1 parent 1a1c9bb commit 3a3a51d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions drivers/isdn/capi/capiutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ static _cdebbuf *g_debbuf;
static u_long g_debbuf_lock;
static _cmsg *g_cmsg;

_cdebbuf *cdebbuf_alloc(void)
static _cdebbuf *cdebbuf_alloc(void)
{
_cdebbuf *cdb;

Expand Down Expand Up @@ -989,11 +989,6 @@ _cdebbuf *capi_cmsg2str(_cmsg * cmsg)
return &g_debbuf;
}

_cdebbuf *cdebbuf_alloc(void)
{
return &g_debbuf;
}

void cdebbuf_free(_cdebbuf *cdb)
{
}
Expand All @@ -1009,7 +1004,6 @@ void __exit cdebug_exit(void)

#endif

EXPORT_SYMBOL(cdebbuf_alloc);
EXPORT_SYMBOL(cdebbuf_free);
EXPORT_SYMBOL(capi_cmsg2message);
EXPORT_SYMBOL(capi_message2cmsg);
Expand Down
1 change: 0 additions & 1 deletion include/linux/isdn/capiutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ typedef struct {
#define CDEBUG_SIZE 1024
#define CDEBUG_GSIZE 4096

_cdebbuf *cdebbuf_alloc(void);
void cdebbuf_free(_cdebbuf *cdb);
int cdebug_init(void);
void cdebug_exit(void);
Expand Down

0 comments on commit 3a3a51d

Please sign in to comment.