diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-10-23 19:56:19 -0400 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-10-23 19:14:06 -0500 |
commit | 6ca79042b9aa9752e577346e6f355356ef8f2f9a (patch) | |
tree | 1b2c101abfb41fa69a906a4bcfde41a0c53a3363 /src/rc | |
parent | 1e0a4bebdefd06af09ba8f2459287d3ca28f89d7 (diff) |
helpers.h, start-stop-daemon.c: remove uneeded macros
TAILQ_CONCAT, TAILQ_FOREACH_SAFE and LIST_FOREACH_SAFE are defined
in our bundled queue.h and are no longer required.
Diffstat (limited to 'src/rc')
-rw-r--r-- | src/rc/start-stop-daemon.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index 14124491..6229bbfd 100644 --- a/src/rc/start-stop-daemon.c +++ b/src/rc/start-stop-daemon.c @@ -78,15 +78,6 @@ static struct pam_conv conv = { NULL, NULL}; #include "rc.h" #include "rc-misc.h" -/* Some libc implementations don't define this */ -#ifndef LIST_FOREACH_SAFE -#define LIST_FOREACH_SAFE(var, head, field, tvar) \ - for ((var) = LIST_FIRST((head)); \ - (var) && ((tvar) = LIST_NEXT((var), field), 1); \ - (var) = (tvar)) -#endif - - typedef struct scheduleitem { enum |