From: Joshua Colp Date: Mon, 16 Jul 2007 18:38:28 +0000 (+0000) Subject: Change the function name slightly... just for kpfleming! X-Git-Tag: 1.6.0-beta1~3^2~2053 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=344e6fd016ea52f96e2160687f299cb382040da3;p=thirdparty%2Fasterisk.git Change the function name slightly... just for kpfleming! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75260 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 41dd0d4415..3ff142e637 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -865,12 +865,12 @@ int ast_custom_function_unregister(struct ast_custom_function *acf); /*! * \brief Register a custom function */ -#define ast_custom_function_register(acf) ast_custom_function_register2(acf, ast_module_info->self) +#define ast_custom_function_register(acf) __ast_custom_function_register(acf, ast_module_info->self) /*! * \brief Register a custom function */ -int ast_custom_function_register2(struct ast_custom_function *acf, struct ast_module *mod); +int __ast_custom_function_register(struct ast_custom_function *acf, struct ast_module *mod); /*! * \brief Retrieve the number of active calls diff --git a/main/pbx.c b/main/pbx.c index ee88a06159..4d7ebbaba1 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1410,7 +1410,7 @@ int ast_custom_function_unregister(struct ast_custom_function *acf) return acf ? 0 : -1; } -int ast_custom_function_register2(struct ast_custom_function *acf, struct ast_module *mod) +int __ast_custom_function_register(struct ast_custom_function *acf, struct ast_module *mod) { struct ast_custom_function *cur;