diff options
author | Russell Bryant <russell@russellbryant.com> | 2008-06-13 12:53:08 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2008-06-13 12:53:08 +0000 |
commit | 3c8b9bc6c4e44657ad5632c857b2e24f2e50655d (patch) | |
tree | 3f9eb66c0de43f1cecb98410e2fee0792d3a1776 /res/res_timing_dahdi.c | |
parent | b6457ecf4c95b5fe148afdac555e9b198e666c23 (diff) |
Do not allow res_timing_dahdi to be unloaded. We can re-enable this once we
add automatic use count handling for timing modules.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_timing_dahdi.c')
-rw-r--r-- | res/res_timing_dahdi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/res/res_timing_dahdi.c b/res/res_timing_dahdi.c index 16b64b21a..bc8076690 100644 --- a/res/res_timing_dahdi.c +++ b/res/res_timing_dahdi.c @@ -180,9 +180,11 @@ static int load_module(void) static int unload_module(void) { - ast_uninstall_timing_functions(timing_funcs_handle); + /* ast_uninstall_timing_functions(timing_funcs_handle); */ - return 0; + /* This module can not currently be unloaded. No use count handling is being done. */ + + return -1; } AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "DAHDI Timing Interface"); |