diff options
Diffstat (limited to 'src/includes')
| -rw-r--r-- | src/includes/rc-misc.h | 17 | 
1 files changed, 0 insertions, 17 deletions
| diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index d6bc8d9a..4bdeb01f 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -62,16 +62,6 @@  #endif  /* Some libc implemntations don't have these */ -#ifndef STAILQ_CONCAT -#define	STAILQ_CONCAT(head1, head2) do {				\ -	if (!STAILQ_EMPTY((head2))) {					\ -		*(head1)->stqh_last = (head2)->stqh_first;		\ -		(head1)->stqh_last = (head2)->stqh_last;		\ -		STAILQ_INIT((head2));					\ -	}								\ -} while (0) -#endif -  #ifndef TAILQ_CONCAT  #define TAILQ_CONCAT(head1, head2, field) do {                          \  	if (!TAILQ_EMPTY(head2)) {                                      \ @@ -83,13 +73,6 @@  } while (0)  #endif -#ifndef STAILQ_FOREACH_SAFE -#define	STAILQ_FOREACH_SAFE(var, head, field, tvar)			\ -	for ((var) = STAILQ_FIRST((head));				\ -	     (var) && ((tvar) = STAILQ_NEXT((var), field), 1);		\ -	     (var) = (tvar)) -#endif -  #ifndef TAILQ_FOREACH_SAFE  #define	TAILQ_FOREACH_SAFE(var, head, field, tvar)			\  	for ((var) = TAILQ_FIRST((head));				\ | 
