summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-19 11:29:03 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-19 11:29:07 -0800
commit24d38c420d5d60c988f07dd25f7fa81171dac64f (patch)
tree47d34022ccbff9515e85ed47cf34794c19454df2 /remote.c
parente17c2f59266528dce1cfb71798dc6075b74839a3 (diff)
Fix some gcc -Wwrite-strings warnings
Many are unfixable at the moment due to the libXt API Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/remote.c b/remote.c
index 76cde30..54d95ac 100644
--- a/remote.c
+++ b/remote.c
@@ -36,9 +36,10 @@ static char *format_rstart_env(char *str);
void
-remote_start(char *restart_protocol, char *restart_machine, char *program,
- char **args, char *cwd, char **env,
- char *non_local_display_env, char *non_local_session_env)
+remote_start(const char *restart_protocol, const char *restart_machine,
+ const char *program, char **args, const char *cwd,
+ char **env, const char *non_local_display_env,
+ const char *non_local_session_env)
{
FILE *fp;
int pipefd[2];