aboutsummaryrefslogtreecommitdiff
path: root/src/includes
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-07 14:16:46 +0000
committerRoy Marples <roy@marples.name>2008-07-07 14:16:46 +0000
commit7a6112d3b085d5989503ffe3840ab4530e993cc3 (patch)
tree1ba7b8b96e25dd47d8f657165716192d9eb78f2d /src/includes
parent157db50df72c1bcb71689312ea1760668124d9b2 (diff)
Punt STAILQ and just use TAILQ so we're a bit more portable.
Diffstat (limited to 'src/includes')
-rw-r--r--src/includes/rc-misc.h17
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)); \