summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2018-09-30 17:20:13 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-09-30 17:20:13 -0700
commit536adbdd5b5e44fcfbd5bce287080e678a48b678 (patch)
tree51732b83f1e391529b2253b711f4c2c4955f6327 /misc.c
parentcae8e0a4db186da3556bdab944b61eb540e6685c (diff)
Remove ancient System() replacement for system(3c) on Solaris
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c18
1 files changed, 0 insertions, 18 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)
{