]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix the AST_MODULE_INFO macro for C++ modules. The load and reload parameters
authorRussell Bryant <russell@russellbryant.com>
Sun, 30 Sep 2007 20:02:16 +0000 (20:02 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 30 Sep 2007 20:02:16 +0000 (20:02 +0000)
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

include/asterisk/module.h

index b1585b60f12258144e8c3600a6d5a7f362aa6abb..7f14df7f975fc05c72963e5862f3c8d3cad44ba7 100644 (file)
@@ -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,                                 \