summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:23 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:23 +0000
commitac8c3cf394fb9d0eb57332ea7b2d12fb3c4a396d (patch)
tree02cb7504dab187ebcae1e7fbb0b002225dda2a73 /remote.c
parentc8ddd5d82a72167de6e0a544b55f9b03ab93053e (diff)
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c25
1 files changed, 7 insertions, 18 deletions
diff --git a/remote.c b/remote.c
index 0b20bcc..5e942e7 100644
--- a/remote.c
+++ b/remote.c
@@ -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;