Fix chan_nbs to build...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Mark Spencer 20 years ago
parent df2223416d
commit d9e8e304b9

@ -296,12 +296,12 @@ static int __unload_module(void)
return 0; return 0;
} }
static int unload_module(void) static int unload_module(void *mod)
{ {
return __unload_module(); return __unload_module();
} }
static int load_module(void) static int load_module(void *mod)
{ {
/* Make sure we can register our channel type */ /* Make sure we can register our channel type */
if (ast_channel_register(&nbs_tech)) { if (ast_channel_register(&nbs_tech)) {
@ -312,18 +312,14 @@ static int load_module(void)
return 0; return 0;
} }
int usecount(void) static const char *description(void)
{
return usecnt;
}
const char *description(void)
{ {
return (char *) desc; return (char *) desc;
} }
const char *key(void) static const char *key(void)
{ {
return ASTERISK_GPL_KEY; return ASTERISK_GPL_KEY;
} }
STD_MOD(MOD_0, NULL, NULL, NULL);

Loading…
Cancel
Save