diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-24 06:23:36 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-24 06:23:36 +0000 |
commit | 470cfa71c8d6f34c0fc3bfc7f95610006201dde5 (patch) | |
tree | bdca7aece8ddee6477584fc13dfeebdaba0e89ff /include | |
parent | eb360ec8d191f02c8771cc82486e77d884855046 (diff) |
minor cleanups ...
- use for loops instead of while loops for basic list traversals
- only calculate word length one time in CLI complete functions
- use calloc instead of malloc + memset
- remove some unnecessary casts
- formatting tweaks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7618 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/pbx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 9332b9e6a..82df57a50 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -626,7 +626,7 @@ int ast_parseable_goto(struct ast_channel *chan, const char *goto_string); int ast_explicit_goto(struct ast_channel *chan, const char *context, const char *exten, int priority); int ast_async_goto_if_exists(struct ast_channel *chan, const char *context, const char *exten, int priority); -struct ast_custom_function* ast_custom_function_find(char *name); +struct ast_custom_function* ast_custom_function_find(const char *name); int ast_custom_function_unregister(struct ast_custom_function *acf); int ast_custom_function_register(struct ast_custom_function *acf); |