From 6ca79042b9aa9752e577346e6f355356ef8f2f9a Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Thu, 23 Oct 2014 19:56:19 -0400 Subject: 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. --- src/rc/start-stop-daemon.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/rc') 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 -- cgit v1.2.3