[asterisk-commits] tilghman: branch tilghman/kill_stubs r274769 - /team/tilghman/kill_stubs/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 8 11:32:54 CDT 2010


Author: tilghman
Date: Thu Jul  8 11:32:51 2010
New Revision: 274769

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=274769
Log:
Still no joy in Mudville, but at least the nm output for res_crypto looks more like res_agi (which works).

Modified:
    team/tilghman/kill_stubs/res/res_crypto.c

Modified: team/tilghman/kill_stubs/res/res_crypto.c
URL: http://svnview.digium.com/svn/asterisk/team/tilghman/kill_stubs/res/res_crypto.c?view=diff&rev=274769&r1=274768&r2=274769
==============================================================================
--- team/tilghman/kill_stubs/res/res_crypto.c (original)
+++ team/tilghman/kill_stubs/res/res_crypto.c Thu Jul  8 11:32:51 2010
@@ -40,13 +40,15 @@
 #include <dirent.h>
 
 #include "asterisk/module.h"
-#define AST_API_MODULE
-#include "asterisk/crypto.h"
 #include "asterisk/md5.h"
 #include "asterisk/cli.h"
 #include "asterisk/io.h"
 #include "asterisk/lock.h"
 #include "asterisk/utils.h"
+#include "asterisk/compiler.h"
+
+#define AST_API_MODULE
+#include "asterisk/crypto.h"
 
 /*
  * Asterisk uses RSA keys with SHA-1 message digests for its
@@ -636,8 +638,9 @@
 }
 
 /* needs usecount semantics defined */
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Cryptographic Digital Signatures",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "Cryptographic Digital Signatures",
 		.load = load_module,
 		.unload = unload_module,
-		.reload = reload
+		.reload = reload,
+		.load_pri = 20,
 	);




More information about the asterisk-commits mailing list