diff options
| author | Jeffrey Hsu <hsu@FreeBSD.org> | 2000-08-03 17:31:56 +0000 |
|---|---|---|
| committer | Jeffrey Hsu <hsu@FreeBSD.org> | 2000-08-03 17:31:56 +0000 |
| commit | 775304e896c78cbbce7d756f9b463362382fcaab (patch) | |
| tree | cadd87de31c15f8453f4cd6c9355c1213938d984 | |
| parent | 51b86781c0c5e27168e3a5617423f01538d4cac9 (diff) | |
Notes
| -rw-r--r-- | sys/sys/queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/queue.h b/sys/sys/queue.h index 6b5d3205f55b..ece552bb40a4 100644 --- a/sys/sys/queue.h +++ b/sys/sys/queue.h @@ -224,7 +224,7 @@ struct { \ } while (0) #define STAILQ_LAST(head, type, field) \ - (((head)->stqh_last == &(head)->stqh_first) ? \ + (STAILQ_EMPTY(head) ? \ NULL : \ strbase(type, (head)->stqh_last, field)) |
