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.
This commit is contained in:
committed by
William Hubbs
parent
1e0a4bebde
commit
6ca79042b9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user