From: Brian West Date: Wed, 18 Jun 2008 17:57:32 +0000 (+0000) Subject: this should also have been fixed when the prototypes were changed to const X-Git-Tag: v1.0.1~355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd6ed9e4e639914f4bcb925517986fad13ef867d;p=thirdparty%2Ffreeswitch.git this should also have been fixed when the prototypes were changed to const git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8809 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/asr_tts/mod_lumenvox/mod_lumenvox.cpp b/src/mod/asr_tts/mod_lumenvox/mod_lumenvox.cpp index ed2188aa11..16009dd603 100644 --- a/src/mod/asr_tts/mod_lumenvox/mod_lumenvox.cpp +++ b/src/mod/asr_tts/mod_lumenvox/mod_lumenvox.cpp @@ -178,7 +178,7 @@ static switch_status_t lumenvox_asr_resume(switch_asr_handle_t *ah) } /*! function to open the asr interface */ -static switch_status_t lumenvox_asr_open(switch_asr_handle_t *ah, char *codec, int rate, char *dest, switch_asr_flag_t *flags) +static switch_status_t lumenvox_asr_open(switch_asr_handle_t *ah, const char *codec, int rate, const char *dest, switch_asr_flag_t *flags) { lumenvox_t *lv; @@ -291,7 +291,7 @@ static switch_status_t lumenvox_asr_open(switch_asr_handle_t *ah, char *codec, i } /*! function to load a grammar to the asr interface */ -static switch_status_t lumenvox_asr_load_grammar(switch_asr_handle_t *ah, char *grammar, char *path) +static switch_status_t lumenvox_asr_load_grammar(switch_asr_handle_t *ah, const char *grammar, const char *path) { lumenvox_t *lv = (lumenvox_t *) ah->private_info; @@ -312,7 +312,7 @@ static switch_status_t lumenvox_asr_load_grammar(switch_asr_handle_t *ah, char * /*! function to unload a grammar to the asr interface */ -static switch_status_t lumenvox_asr_unload_grammar(switch_asr_handle_t *ah, char *grammar) +static switch_status_t lumenvox_asr_unload_grammar(switch_asr_handle_t *ah, const char *grammar) { lumenvox_t *lv = (lumenvox_t *) ah->private_info;