res_pjsip_exten_state: Exporting global symbols caused load order issues
authorKevin Harwell <kharwell@digium.com>
Fri, 31 Jan 2014 23:13:39 +0000 (23:13 +0000)
committerKevin Harwell <kharwell@digium.com>
Fri, 31 Jan 2014 23:13:39 +0000 (23:13 +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
........

Merged revisions 407034 from http://svn.asterisk.org/svn/asterisk/branches/12

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

res/res_pjsip_exten_state.c

index 819155f..de3c0bf 100644 (file)
@@ -490,7 +490,7 @@ static int unload_module(void)
        return 0;
 }
 
        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,
                .load = load_module,
                .unload = unload_module,
                .load_pri = AST_MODPRI_CHANNEL_DEPEND,