From: Russell Bryant Date: Sun, 30 Sep 2007 20:02:16 +0000 (+0000) Subject: Fix the AST_MODULE_INFO macro for C++ modules. The load and reload parameters X-Git-Tag: 1.4.12~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ef94103630c4c69821f6bc749335ca922f8afcb;p=thirdparty%2Fasterisk.git Fix the AST_MODULE_INFO macro for C++ modules. The load and reload parameters were in the wrong place. (closes issue #10846, alebm) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@84146 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/module.h b/include/asterisk/module.h index b1585b60f1..7f14df7f97 100644 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -224,8 +224,8 @@ void ast_module_unref(struct ast_module *); static struct ast_module_info __mod_info = { \ NULL, \ load_func, \ - unload_func, \ reload_func, \ + unload_func, \ AST_MODULE, \ desc, \ keystr, \