X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/164be8e5e8b40ce4572281be26d423a9c9d595f3..2ea6899cdfc1dabed68a587cd1f38093180cc206:/sbr/pidwait.c diff --git a/sbr/pidwait.c b/sbr/pidwait.c index f454161d..bd6602cb 100644 --- a/sbr/pidwait.c +++ b/sbr/pidwait.c @@ -1,6 +1,4 @@ - -/* - * pidwait.c -- wait for child to exit +/* pidwait.c -- wait for child to exit * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -9,8 +7,6 @@ #include #include -#include -#include int pidwait (pid_t id, int sigsok) @@ -35,5 +31,5 @@ pidwait (pid_t id, int sigsok) SIGNAL (SIGQUIT, qstat); } - return (pid == -1 ? -1 : status); + return pid == -1 ? -1 : status; }