diff --git a/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp b/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp index 2bb1e03c4a..ec53c51040 100644 --- a/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp +++ b/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp @@ -246,7 +246,7 @@ static switch_bool_t soundtouch_callback(switch_media_bug_t *bug, void *user_dat return SWITCH_TRUE; } -static void soundtouch_start_function(switch_core_session_t *session, char *data) +SWITCH_STANDARD_APP(soundtouch_start_function) { switch_media_bug_t *bug; switch_status_t status; diff --git a/src/mod/formats/mod_shout/mod_shout.c b/src/mod/formats/mod_shout/mod_shout.c index e283430318..a0dc429585 100644 --- a/src/mod/formats/mod_shout/mod_shout.c +++ b/src/mod/formats/mod_shout/mod_shout.c @@ -532,7 +532,7 @@ static void launch_write_stream_thread(shout_context_t * context) switch_thread_create(&thread, thd_attr, write_stream_thread, context, context->memory_pool); } -static switch_status_t shout_file_open(switch_file_handle_t *handle, char *path) +static switch_status_t shout_file_open(switch_file_handle_t *handle, const char *path) { shout_context_t *context; char *host, *file;