new headers pay off and reveal naughty modules with the wrong function prototype

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@611 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-02-14 16:59:31 +00:00
parent bc241ba425
commit 1ca8985b71
7 changed files with 7 additions and 8 deletions

View File

@@ -334,7 +334,7 @@ static switch_loadable_module_interface speex_module_interface = {
/*.application_interface */ NULL
};
SWITCH_MOD_DECLARE(switch_status) switch_module_load(switch_loadable_module_interface **interface, char *filename)
SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface, char *filename)
{
/* connect my internal structure to the blank pointer passed to me */
*interface = &speex_module_interface;