diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-04-11 16:00:23 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-04-11 16:00:23 +0000 |
commit | 08d6fd6e17bbf662fe309cb780ebf235d15ee674 (patch) | |
tree | 3c905405b6b81db6019c5560931316013707ccf1 /loader.c | |
parent | e785b81c5da93400155ba054196628039e517403 (diff) |
remove an unused function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'loader.c')
-rw-r--r-- | loader.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -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; |