From 6d8797a0180aa1bf49ad647d677d27f904c6c218 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 7 Nov 2007 21:15:30 +0000 Subject: [PATCH] sync git-svn-id: http://svn.openzap.org/svn/openzap/trunk@322 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/freetdm/src/include/libteletone_generate.h | 2 +- libs/freetdm/src/libteletone_generate.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/freetdm/src/include/libteletone_generate.h b/libs/freetdm/src/include/libteletone_generate.h index f303d82004..83fd3f00ef 100644 --- a/libs/freetdm/src/include/libteletone_generate.h +++ b/libs/freetdm/src/include/libteletone_generate.h @@ -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 } diff --git a/libs/freetdm/src/libteletone_generate.c b/libs/freetdm/src/libteletone_generate.c index a9060a8149..6b262252bb 100644 --- a/libs/freetdm/src/libteletone_generate.c +++ b/libs/freetdm/src/libteletone_generate.c @@ -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;