diff options
Diffstat (limited to 'apps/app_readfile.c')
-rw-r--r-- | apps/app_readfile.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/apps/app_readfile.c b/apps/app_readfile.c index 833ae9c7c..f0c1215ae 100644 --- a/apps/app_readfile.c +++ b/apps/app_readfile.c @@ -107,7 +107,7 @@ static int readfile_exec(struct ast_channel *chan, void *data) } -int unload_module(void) +static int unload_module(void *mod) { int res; @@ -118,24 +118,19 @@ int unload_module(void) return res; } -int load_module(void) +static int load_module(void *mod) { return ast_register_application(app_readfile, readfile_exec, readfile_synopsis, readfile_descrip); } -const char *description(void) +static const char *description(void) { return tdesc; } -int usecount(void) -{ - int res; - STANDARD_USECOUNT(res); - return res; -} - -const char *key() +static const char *key(void) { return ASTERISK_GPL_KEY; } + +STD_MOD1; |