aboutsummaryrefslogtreecommitdiffstats
path: root/loader.c
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-11 16:00:23 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-11 16:00:23 +0000
commitec05420bc7e8df941004ebfac5c3ea00e3ce48b1 (patch)
tree3c905405b6b81db6019c5560931316013707ccf1 /loader.c
parentbd041a8d8e91d922c6a8b11fd90096c6830f2f47 (diff)
remove an unused function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19226 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'loader.c')
-rw-r--r--loader.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/loader.c b/loader.c
index 58773cab2..593818022 100644
--- a/loader.c
+++ b/loader.c
@@ -569,24 +569,6 @@ char *ast_module_helper(const char *line, const char *word, int pos, int state,
return ret;
}
-/*!
- * \brief Given a function address, find the corresponding module.
- * This is required as a workaround to the fact that we do not
- * have a module argument to the load_module() function.
- * Hopefully the performance implications are small.
- */
-struct module *ast_find_module(int (*load_fn)(void))
-{
- struct module *cur;
- AST_LIST_LOCK(&module_list);
- AST_LIST_TRAVERSE(&module_list, cur, next) {
- if (cur->cb.load_module == load_fn)
- break;
- }
- AST_LIST_UNLOCK(&module_list);
- return cur;
-}
-
int ast_module_reload(const char *name)
{
struct module *cur;