]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_pjsip_exten_state: Exporting global symbols caused load order issues
authorKevin Harwell <kharwell@digium.com>
Fri, 31 Jan 2014 23:12:20 +0000 (23:12 +0000)
committerKevin Harwell <kharwell@digium.com>
Fri, 31 Jan 2014 23:12:20 +0000 (23:12 +0000)
Removed the exportation of global symbols from the module as it is no longer
needed and it could potentially cause load problems as on some systems it
would try to load before res_pjsip_pubsub

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@407034 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_pjsip_exten_state.c

index 819155f00c04010d77ba3eeec8416ca920ced9c2..de3c0bfda9f55088b52132521ca1229f5a0e820c 100644 (file)
@@ -490,7 +490,7 @@ static int unload_module(void)
        return 0;
 }
 
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS | AST_MODFLAG_LOAD_ORDER, "PJSIP Extension State Notifications",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "PJSIP Extension State Notifications",
                .load = load_module,
                .unload = unload_module,
                .load_pri = AST_MODPRI_CHANNEL_DEPEND,