From b2985ea2a2bca730040ade80359d2db2d31b5fb3 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 26 Sep 2008 16:40:16 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9658 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_core.h | 2 +- src/switch_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/switch_core.h b/src/include/switch_core.h index 5fefc9b5b6..4e5bac10e9 100644 --- a/src/include/switch_core.h +++ b/src/include/switch_core.h @@ -1654,7 +1654,7 @@ SWITCH_DECLARE(uint32_t) switch_core_default_dtmf_duration(uint32_t duration); SWITCH_DECLARE(switch_status_t) switch_console_set_complete(const char *string); SWITCH_DECLARE(switch_status_t) switch_console_set_alias(const char *string); -SWITCH_DECLARE(int) switch_system(char *cmd, switch_bool_t wait); +SWITCH_DECLARE(int) switch_system(const char *cmd, switch_bool_t wait); ///\} diff --git a/src/switch_core.c b/src/switch_core.c index 53d61bedce..e8411fa3d7 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -1459,7 +1459,7 @@ static void *SWITCH_THREAD_FUNC system_thread(switch_thread_t *thread, void *obj return NULL; } -SWITCH_DECLARE(int) switch_system(char *cmd, switch_bool_t wait) +SWITCH_DECLARE(int) switch_system(const char *cmd, switch_bool_t wait) { switch_thread_t *thread; switch_threadattr_t *thd_attr;