diff options
Diffstat (limited to 'apps/app_getcpeid.c')
-rw-r--r-- | apps/app_getcpeid.c | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/apps/app_getcpeid.c b/apps/app_getcpeid.c index e9ada0b6f..5baab8676 100644 --- a/apps/app_getcpeid.c +++ b/apps/app_getcpeid.c @@ -43,8 +43,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/adsi.h" #include "asterisk/options.h" -static char *tdesc = "Get ADSI CPE ID"; - static char *app = "GetCPEID"; static char *synopsis = "Get ADSI CPE ID"; @@ -133,7 +131,7 @@ static int cpeid_exec(struct ast_channel *chan, void *idata) return res; } -int unload_module(void) +static int unload_module(void *mod) { int res; @@ -144,24 +142,19 @@ int unload_module(void) return res; } -int load_module(void) +static int load_module(void *mod) { return ast_register_application(app, cpeid_exec, synopsis, descrip); } -const char *description(void) +static const char *description(void) { - return tdesc; + return "Get ADSI CPE ID"; } -int usecount(void) -{ - int res; - STANDARD_USECOUNT(res); - return res; -} - -const char *key() +static const char *key(void) { return ASTERISK_GPL_KEY; } + +STD_MOD1; |