sync
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@322 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
8dfb3e42f9
commit
6d8797a018
|
@ -288,7 +288,7 @@ int teletone_mux_tones(teletone_generation_session_t *ts, teletone_tone_map_t *m
|
||||||
\param cmd the script to execute
|
\param cmd the script to execute
|
||||||
\return 0
|
\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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -315,7 +315,7 @@ static char *my_strdup (const char *s)
|
||||||
return (char *) memcpy (new, s, len);
|
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;
|
char *data = NULL, *cur = NULL, *end = NULL;
|
||||||
int var = 0, LOOPING = 0;
|
int var = 0, LOOPING = 0;
|
||||||
|
|
Loading…
Reference in New Issue