diff options
author | Petr Salinger <Petr.Salinger@seznam.cz> | 2007-12-18 14:20:20 +0000 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2008-05-06 08:56:38 +0300 |
commit | c5793d47d19a07f42c5b32e1fc4672222e9af8fd (patch) | |
tree | ab9d93021dfb146ac397aba7df130e06be413e8d /include | |
parent | ac32eefec50a1f9a6c4a75b7467731fc99a0a109 (diff) | |
download | libbsd-c5793d47d19a07f42c5b32e1fc4672222e9af8fd.tar.gz |
bsd/queue.h: Sync with current glibc variant from GNU/kFreeBSD
Diffstat (limited to 'include')
-rw-r--r-- | include/bsd/queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bsd/queue.h b/include/bsd/queue.h index 407f08b..47e6673 100644 --- a/include/bsd/queue.h +++ b/include/bsd/queue.h @@ -274,7 +274,7 @@ struct { \ #define STAILQ_LAST(head, type, field) \ (STAILQ_EMPTY((head)) ? \ NULL : \ - ((struct type *) \ + ((struct type *)(void *) \ ((char *)((head)->stqh_last) - __offsetof(struct type, field)))) #define STAILQ_NEXT(elm, field) ((elm)->field.stqe_next) @@ -403,7 +403,7 @@ struct { \ (head2)->tqh_first->field.tqe_prev = (head1)->tqh_last; \ (head1)->tqh_last = (head2)->tqh_last; \ TAILQ_INIT((head2)); \ - QMD_TRACE_HEAD(head); \ + QMD_TRACE_HEAD(head1); \ QMD_TRACE_HEAD(head2); \ } \ } while (0) |