]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_agi needs to export two symbols (ast_agi_register and ast_agi_unregister) for...
authorJoshua Colp <jcolp@digium.com>
Sun, 20 May 2007 17:59:58 +0000 (17:59 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 20 May 2007 17:59:58 +0000 (17:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@65250 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_agi.c

index 92d7c89e57152e887ae0f2c88e3275d1bc2dbc57..02ca5dccd0195d0379caf9825d8cd98381119a83 100644 (file)
@@ -2156,4 +2156,7 @@ static int load_module(void)
        return ast_register_application(app, agi_exec, synopsis, descrip);
 }
 
-AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Asterisk Gateway Interface (AGI)");
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Asterisk Gateway Interface (AGI)",
+                .load = load_module,
+                .unload = unload_module,
+               );