summaryrefslogtreecommitdiff
path: root/usr.bin/mg/spawn.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-25 19:13:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-25 19:13:22 +0000
commitd653bfc08b84cece528e6cd685cfdfbd50aaab80 (patch)
tree472433943c7e57d62bed2e9e391948bdd342563c /usr.bin/mg/spawn.c
parent73dbeaf93db1f7d141e3bf5750195367867fadea (diff)
further pruning
Diffstat (limited to 'usr.bin/mg/spawn.c')
-rw-r--r--usr.bin/mg/spawn.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/mg/spawn.c b/usr.bin/mg/spawn.c
index 3d3f562b646..f907d944a57 100644
--- a/usr.bin/mg/spawn.c
+++ b/usr.bin/mg/spawn.c
@@ -11,8 +11,6 @@
char *shellp = NULL; /* Saved "SHELL" program. */
char *shname = NULL; /* Saved shell name */
-extern char *getenv();
-
/*
* On System V, we no gots job control, so always run
* a subshell using fork/exec. Bound to "C-C", and used
@@ -23,11 +21,10 @@ extern char *getenv();
*/
spawncli(f, n)
{
- extern char *strrchr();
register int pid;
register int wpid;
- register int (*oqsig)();
- register int (*oisig)();
+ register void (*oqsig)();
+ register void (*oisig)();
int status;
int errp = FALSE;
@@ -85,7 +82,6 @@ spawncli(f, n)
*/
attachtoparent(f, n)
{
- extern char *strrchr();
register int pid;
register int wpid;
register int (*oqsig)();