提交 6d8797a0 authored 作者: Anthony Minessale's avatar Anthony Minessale

sync

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@322 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 8dfb3e42
......@@ -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
}
......
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论