summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2014-09-13 16:06:38 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2014-09-13 16:06:38 +0000
commitea858dabe0f76712b2416cf2288222c8cbba5028 (patch)
tree329401494d1f8b23d1f11679cf89acb4ae8c0e77 /usr.bin
parentbeb9041963b2a9e31afc7ab688f1da1a386cbf9c (diff)
Replace all queue *_END macro calls except CIRCLEQ_END with NULL.
CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cdio/rip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cdio/rip.c b/usr.bin/cdio/rip.c
index 0fe0d8e88d1..890066280fb 100644
--- a/usr.bin/cdio/rip.c
+++ b/usr.bin/cdio/rip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rip.c,v 1.14 2013/11/20 20:54:34 deraadt Exp $ */
+/* $OpenBSD: rip.c,v 1.15 2014/09/13 16:06:37 doug Exp $ */
/*
* Copyright (c) 2007 Alexey Vatchenko <av@bsdua.org>
@@ -244,7 +244,7 @@ parse_tracks_final(struct track_pair_head *head)
{
struct track_pair *tp;
- while ((tp = TAILQ_FIRST(head)) != TAILQ_END(head)) {
+ while ((tp = TAILQ_FIRST(head)) != NULL) {
TAILQ_REMOVE(head, tp, list);
free(tp);
}