Return to worklist.c CVS log | Up to [local] / src / usr.bin / rcs |
version 1.3, 2010/07/23 08:31:19 | version 1.4, 2015/06/13 20:15:21 | ||
---|---|---|---|
|
|
||
#include <err.h> | #include <err.h> | ||
#include <signal.h> | #include <signal.h> | ||
#include <stdlib.h> | |||
#include <string.h> | #include <string.h> | ||
#include <unistd.h> | #include <unistd.h> | ||
|
|
||
while ((wkl = SLIST_FIRST(list)) != NULL) { | while ((wkl = SLIST_FIRST(list)) != NULL) { | ||
SLIST_REMOVE_HEAD(list, wkl_list); | SLIST_REMOVE_HEAD(list, wkl_list); | ||
xfree(wkl); | free(wkl); | ||
} | } | ||
sigprocmask(SIG_SETMASK, &old, NULL); | sigprocmask(SIG_SETMASK, &old, NULL); |