[asterisk-commits] branch oej/cdr_radius r28433 -
/team/oej/cdr_radius/cdr/cdr_radius.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu May 18 16:10:17 MST 2006
Author: russell
Date: Thu May 18 18:10:16 2006
New Revision: 28433
URL: http://svn.digium.com/view/asterisk?rev=28433&view=rev
Log:
updates to new loader from issue #6639
Modified:
team/oej/cdr_radius/cdr/cdr_radius.c
Modified: team/oej/cdr_radius/cdr/cdr_radius.c
URL: http://svn.digium.com/view/asterisk/team/oej/cdr_radius/cdr/cdr_radius.c?rev=28433&r1=28432&r2=28433&view=diff
==============================================================================
--- team/oej/cdr_radius/cdr/cdr_radius.c (original)
+++ team/oej/cdr_radius/cdr/cdr_radius.c Thu May 18 18:10:16 2006
@@ -294,18 +294,18 @@
return result;
}
-const char *description(void)
+static const char *description(void)
{
return desc;
}
-int unload_module(void)
+static int unload_module(void *mod)
{
ast_cdr_unregister(name);
return 0;
}
-int load_module(void)
+static int load_module(void *mod)
{
int res;
struct ast_config *cfg;
@@ -371,17 +371,14 @@
return res;
}
-int reload(void)
+static int reload(void *mod)
{
return 0;
}
-int usecount(void)
-{
- return 0;
-}
-
-const char *key()
+static const char *key(void)
{
return ASTERISK_GPL_KEY;
}
+
+STD_MOD(MOD_0, reload, NULL, NULL);
More information about the asterisk-commits
mailing list