diff --git a/src/mod/endpoints/mod_alsa/mod_alsa.c b/src/mod/endpoints/mod_alsa/mod_alsa.c index 0c4d3948f9..dcb3e0aed8 100644 --- a/src/mod/endpoints/mod_alsa/mod_alsa.c +++ b/src/mod/endpoints/mod_alsa/mod_alsa.c @@ -827,7 +827,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi } -SWITCH_MODULE_LOAD_FUNCTION(mod_alsa_load); +SWITCH_MODULE_LOAD_FUNCTION(mod_alsa_load) { switch_status_t status; diff --git a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c index 5379201dc3..fffd94400c 100644 --- a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c +++ b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c @@ -1337,7 +1337,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_wanpipe_load) } /* connect my internal structure to the blank pointer passed to me */ - *interface = &wanpipe_module_interface; + *module_interface = &wanpipe_module_interface; /* indicate that the module should continue to be loaded */ return status;