]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
this should also have been fixed when the prototypes were changed to const
authorBrian West <brian@freeswitch.org>
Wed, 18 Jun 2008 17:57:32 +0000 (17:57 +0000)
committerBrian West <brian@freeswitch.org>
Wed, 18 Jun 2008 17:57:32 +0000 (17:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8809 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/asr_tts/mod_lumenvox/mod_lumenvox.cpp

index ed2188aa11a36e96cf04290c9d6b9bf139ecfc89..16009dd603b992565f1a1e85cc20ff7925d46f08 100644 (file)
@@ -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;