X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ca34fbd0a5204d47ad019f64ef03d21ebd3397fd..6cd749f4e818af7d10dfd6b1de1bb37cb7915acd:/uip/whatnowsbr.c diff --git a/uip/whatnowsbr.c b/uip/whatnowsbr.c index 3009e0f0..36ba346d 100644 --- a/uip/whatnowsbr.c +++ b/uip/whatnowsbr.c @@ -696,7 +696,7 @@ editfile (char **ed, char **arg, char *file, int use, struct msgs *mp, context_save (); /* save the context file */ fflush (stdout); - switch (pid = vfork ()) { + switch (pid = vfork()) { case NOTOK: advise ("fork", "unable to"); status = NOTOK; @@ -811,7 +811,7 @@ copyf (char *ifile, char *ofile) */ static int -sendfile (char **arg, char *file, volatile int pushsw) +sendfile (char **arg, char *file, int pushsw) { pid_t child_id; int i, vecp; @@ -1349,7 +1349,7 @@ whomfile (char **arg, char *file) context_save (); /* save the context file */ fflush (stdout); - switch (pid = vfork ()) { + switch (pid = vfork()) { case NOTOK: advise ("fork", "unable to"); return 1;