diff options
Diffstat (limited to 'res/res_adsi.c')
-rw-r--r-- | res/res_adsi.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/res/res_adsi.c b/res/res_adsi.c index ca0da1f36..730b336d1 100644 --- a/res/res_adsi.c +++ b/res/res_adsi.c @@ -1107,36 +1107,32 @@ static void adsi_load(void) } } -int reload(void) +static int reload(void *mod) { adsi_load(); return 0; } -int load_module(void) +static int load_module(void *mod) { adsi_load(); return 0; } -int unload_module(void) +static int unload_module(void *mod) { /* Can't unload this once we're loaded */ return -1; } -const char *description(void) +static const char *description(void) { return "ADSI Resource"; } -int usecount(void) -{ - /* We should never be unloaded */ - return 1; -} - -const char *key() +static const char *key(void) { return ASTERISK_GPL_KEY; } + +STD_MOD(MOD_0 | NO_USECOUNT | NO_UNLOAD, reload, NULL, NULL); |