diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:23 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:23 +0000 |
commit | ac8c3cf394fb9d0eb57332ea7b2d12fb3c4a396d (patch) | |
tree | 02cb7504dab187ebcae1e7fbb0b002225dda2a73 /remote.c | |
parent | c8ddd5d82a72167de6e0a544b55f9b03ab93053e (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'remote.c')
-rw-r--r-- | remote.c | 25 |
1 files changed, 7 insertions, 18 deletions
@@ -23,35 +23,27 @@ Except as contained in this notice, the name of The Open Group shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. ******************************************************************************/ +/* $XFree86: xc/programs/xsm/remote.c,v 1.5 2001/12/14 20:02:26 dawes Exp $ */ /* * We use the rstart protocol to restart clients on remote machines. */ #include "xsm.h" +#include "log.h" #include <X11/ICE/ICEutil.h> -static char *format_rstart_env(); +static char *format_rstart_env(char *str); extern IceAuthDataEntry *authDataEntries; extern int numTransports; -extern void fprintfhex (); void -remote_start (restart_protocol, restart_machine, program, args, cwd, env, - non_local_display_env, non_local_session_env) - -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(char *restart_protocol, char *restart_machine, char *program, + char **args, char *cwd, char **env, + char *non_local_display_env, char *non_local_session_env) { FILE *fp; int pipefd[2]; @@ -211,10 +203,7 @@ char *non_local_session_env; */ static char * -format_rstart_env (str) - -char *str; - +format_rstart_env(char *str) { int escape_count = 0, i; char *temp = str; |