]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
sync
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 7 Nov 2007 21:15:30 +0000 (21:15 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 7 Nov 2007 21:15:30 +0000 (21:15 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@322 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/src/include/libteletone_generate.h
libs/openzap/src/libteletone_generate.c

index f303d820041eef2f70e9c35277dffd9961ce4ad3..83fd3f00ef93868ab504bb85302682952979c529 100644 (file)
@@ -288,7 +288,7 @@ int teletone_mux_tones(teletone_generation_session_t *ts, teletone_tone_map_t *m
   \param cmd the script to execute
   \return 0
 */
-int teletone_run(teletone_generation_session_t *ts, char *cmd);
+int teletone_run(teletone_generation_session_t *ts, const char *cmd);
 
 #ifdef __cplusplus
 }
index a9060a8149bf8cf19370de1f1afcfa8711dc8e46..6b262252bb7dbae0a02ad7e91e884051d3db46a9 100644 (file)
@@ -315,7 +315,7 @@ static char *my_strdup (const char *s)
        return (char *) memcpy (new, s, len);
 }
 
-int teletone_run(teletone_generation_session_t *ts, char *cmd)
+int teletone_run(teletone_generation_session_t *ts, const char *cmd)
 {
        char *data = NULL, *cur = NULL, *end = NULL;
        int var = 0, LOOPING = 0;