X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=signal.c;h=bded532ed209ab4fa686d1e93147a4cfc4a5bcce;hp=59a0d45aba7ad975fc287862308891435c4e9095;hb=7cb8fa26cfdcb3d34f8be2b86c48ffc6d7b9d84a;hpb=343f3c63fc3a7f9ca4ba4163c9e4cf06cde8d0c3 diff --git a/signal.c b/signal.c index 59a0d45a..bded532e 100644 --- a/signal.c +++ b/signal.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2009 Andre Noll + * Copyright (C) 2004-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -102,20 +102,6 @@ int para_reap_child(pid_t *pid) return 1; } -/** - * Paraslash's zombie killer. - * - * It just calls \p para_reap_child() until there are no more children left to - * reap. - */ -void para_reap_children(void) -{ - pid_t pid; - - while (para_reap_child(&pid) > 0) - ; /* nothing */ -} - /** * Install the given handler for the given signal. * @@ -163,7 +149,7 @@ void para_install_sighandler(int sig) } /** - * Return the number of next pending signal. + * Return the number of the next pending signal. * * This should be called if the fd for the signal pipe is ready for reading. *