diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-12-24 06:23:36 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-12-24 06:23:36 +0000 |
commit | 85efb203136110757f8971e19f8b8f6b5cfc6b9a (patch) | |
tree | bdca7aece8ddee6477584fc13dfeebdaba0e89ff /include/asterisk/pbx.h | |
parent | 22315a44c444b71ba9ce564399e0bab37936bb78 (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: https://origsvn.digium.com/svn/asterisk/trunk@7618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/pbx.h')
-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); |