[asterisk-commits] trunk r36505 - /trunk/channels/chan_nbs.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Jul 1 07:55:29 MST 2006


Author: markster
Date: Sat Jul  1 09:55:29 2006
New Revision: 36505

URL: http://svn.digium.com/view/asterisk?rev=36505&view=rev
Log:
Fix chan_nbs to build...

Modified:
    trunk/channels/chan_nbs.c

Modified: trunk/channels/chan_nbs.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_nbs.c?rev=36505&r1=36504&r2=36505&view=diff
==============================================================================
--- trunk/channels/chan_nbs.c (original)
+++ trunk/channels/chan_nbs.c Sat Jul  1 09:55:29 2006
@@ -296,12 +296,12 @@
 	return 0;
 }
 
-static int unload_module(void)
+static int unload_module(void *mod)
 {
 	return __unload_module();
 }
 
-static int load_module(void)
+static int load_module(void *mod)
 {
 	/* Make sure we can register our channel type */
 	if (ast_channel_register(&nbs_tech)) {
@@ -312,18 +312,14 @@
 	return 0;
 }
 
-int usecount(void)
-{
-	return usecnt;
-}
-
-const char *description(void)
+static const char *description(void)
 {
 	return (char *) desc;
 }
 
-const char *key(void)
+static const char *key(void)
 {
 	return ASTERISK_GPL_KEY;
 }
 
+STD_MOD(MOD_0, NULL, NULL, NULL);



More information about the asterisk-commits mailing list