since the module API is changing, it's a good time to const-ify the description() and key() return values

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-04-08 22:01:19 +00:00
parent 1bba6ec6fc
commit f10f427d49
161 changed files with 329 additions and 334 deletions

View File

@@ -79,7 +79,7 @@ STATIC_MODULE int load_module(void)
return ast_register_application(nocdr_app, nocdr_exec, nocdr_synopsis, nocdr_descrip);
}
STATIC_MODULE char *description(void)
STATIC_MODULE const char *description(void)
{
return "Tell Asterisk to not maintain a CDR for the current call";
}
@@ -91,7 +91,7 @@ STATIC_MODULE int usecount(void)
return res;
}
STATIC_MODULE char *key(void)
STATIC_MODULE const char *key(void)
{
return ASTERISK_GPL_KEY;
}