X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fportab%2Fwaitpid.c;h=5846bd8fcac853db99958f4aee9a4406b3b09f46;hp=0c169601df3fedebca97461cd04c6a2c0ba9ffdd;hb=03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c;hpb=408cefd15d4540d340283cdfbfad62a8e432cf8e diff --git a/src/portab/waitpid.c b/src/portab/waitpid.c index 0c169601..5846bd8f 100644 --- a/src/portab/waitpid.c +++ b/src/portab/waitpid.c @@ -1,12 +1,16 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * + */ + +#include "portab.h" + +/** + * @file * waitpid() implementation. Public domain. * Written by Steven D. Blackford for the NeXT system. - * */ -#include "portab.h" +#ifndef HAVE_WAITPID #include "imp.h" #include @@ -15,8 +19,6 @@ #include "exp.h" -#ifndef HAVE_WAITPID - GLOBAL int waitpid(pid, stat_loc, options) int pid, *stat_loc, options;