aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-13 20:23:48 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-13 20:23:48 +0000
commit0345153cc77f381b04c79b057da9fcf9e8fb6a1e (patch)
treedbdbeb47bccda5577246f9ec7ca6061e41f27534 /include/asterisk
parent67b0bc3f9512df98636fb7e1ced91e0d7425f349 (diff)
Move usage of the old LOCAL_USER_* macros to the new ast_module_user_* functions in a few documentation places.
(closes issue #11533) Reported by: IgorG Patches: oldmacroclean.v1.diff uploaded by IgorG (license 20) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92811 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/app.h2
-rw-r--r--include/asterisk/module.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h
index 26523d4bd..306ae47c2 100644
--- a/include/asterisk/app.h
+++ b/include/asterisk/app.h
@@ -394,7 +394,7 @@ struct ast_app_option {
... do any argument parsing here ...
if (ast_parseoptions(my_app_options, &opts, opt_args, options)) {
- LOCAL_USER_REMOVE(u);
+ ast_module_user_remove(u);
return -1;
}
}
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index 1b257ed15..ac0fe5dd4 100644
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -97,7 +97,7 @@ int ast_unload_resource(const char *resource_name, enum ast_module_unload_mode);
* This function calulates use counts and notifies anyone trying to keep track
* of them. It should be called whenever your module's usecount changes.
*
- * \note The LOCAL_USER macros take care of calling this function for you.
+ * \note The ast_module_user_* functions take care of calling this function for you.
*/
void ast_update_use_count(void);