aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/module.h
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-13 20:12:50 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-13 20:12:50 +0000
commit4c6776c6d75216f03490b12f40f9801a5b6ccc7f (patch)
treea3eb89f49e8ebf6891b56fff7ac014a27667e286 /include/asterisk/module.h
parent5fe6afb1830f0f828607a49418968442caccf1c9 (diff)
remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9800 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/module.h')
-rw-r--r--include/asterisk/module.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index 0f8cd5036..d9d01b251 100644
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -332,21 +332,6 @@ void ast_unregister_atexit(void (*func)(void));
ast_update_use_count(); \
}
-#define LOCAL_USER_ACF_ADD(u) { \
- \
- if (!(u=calloc(1,sizeof(*u)))) { \
- ast_log(LOG_WARNING, "Out of memory\n"); \
- return -1; \
- } \
- ast_mutex_lock(&localuser_lock); \
- u->chan = chan; \
- u->next = localusers; \
- localusers = u; \
- localusecnt++; \
- ast_mutex_unlock(&localuser_lock); \
- ast_update_use_count(); \
-}
-
/*!
* \brief Remove a localuser.
* \param u the user to add, should be of type struct localuser