summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc.c18
-rw-r--r--xsm.h5
2 files changed, 0 insertions, 23 deletions
diff --git a/misc.c b/misc.c
index c9367bd..553b937 100644
--- a/misc.c
+++ b/misc.c
@@ -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)
{
diff --git a/xsm.h b/xsm.h
index e952419..e780355 100644
--- a/xsm.h
+++ b/xsm.h
@@ -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,