From: Joshua Colp Date: Sun, 20 May 2007 17:55:40 +0000 (+0000) Subject: Music on hold and crypto no longer need their symbols globally exported. They registe... X-Git-Tag: 1.6.0-beta1~3^2~2629 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b10fd3877052e6bda7c3ac4df1446537379e7fc9;p=thirdparty%2Fasterisk.git Music on hold and crypto no longer need their symbols globally exported. They register the function pointers upon loading with their respective stubs. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65249 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_crypto.c b/res/res_crypto.c index 4e4a363e11..341723d70b 100644 --- a/res/res_crypto.c +++ b/res/res_crypto.c @@ -616,7 +616,7 @@ static int unload_module(void) } /* needs usecount semantics defined */ -AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Cryptographic Digital Signatures", +AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Cryptographic Digital Signatures", .load = load_module, .unload = unload_module, .reload = reload diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index bec737e4de..42c171c43d 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -1222,7 +1222,7 @@ static int unload_module(void) return -1; } -AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Music On Hold Resource", +AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Music On Hold Resource", .load = load_module, .unload = unload_module, .reload = reload,