diff options
-rw-r--r-- | misc.c | 18 | ||||
-rw-r--r-- | xsm.h | 5 |
2 files changed, 0 insertions, 23 deletions
@@ -102,24 +102,6 @@ strbw(const char *a, const char *b) -#if defined(sun) && defined(SVR4) -#include <sys/wait.h> - -int -System(char *s) -{ - int pid, status; - if ((pid = fork ()) == 0) { - (void) setpgrp(); - execl ("/bin/sh", "sh", "-c", s, NULL); - } else - waitpid (pid, &status, 0); - return status; -} -#endif - - - void nomem(void) { @@ -208,11 +208,6 @@ extern void nomem(void); #define Strstr strstr -#if defined(sun) && defined(SVR4) -extern int System(char *s); -#define system(s) System(s) -#endif - /* remote.c */ extern void remote_start(const char *restart_protocol, const char *restart_machine, |