diff options
author | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-22 21:41:00 +0000 |
---|---|---|
committer | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-22 21:41:00 +0000 |
commit | f7ef3dd6a3f98e360a2d25c92e968bd223764db2 (patch) | |
tree | 3b3035a1df9aaf579fcb692bd38d5a9d33791ed3 /deque | |
parent | e9a803f42a15025ff8eed59e4ae4d8a8ab3645e0 (diff) |
+ corrected some typos
svn path=/trunk/externals/moocow/; revision=10599
Diffstat (limited to 'deque')
-rw-r--r-- | deque/src/dsqueue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deque/src/dsqueue.c b/deque/src/dsqueue.c index b48916c..378a8ea 100644 --- a/deque/src/dsqueue.c +++ b/deque/src/dsqueue.c @@ -153,7 +153,7 @@ dsqueue_iter_t dsqueue_iter_last(dsqueue_t *dsq) { /// Returns an iterator for the next datum in the queue, or /// NULL if already at end-of-queue. -dsqueue_iter_t dsqueue_iter_next(MOO_UNSUED dsqueue_t *dsq, dsqueue_iter_t dsqi) { +dsqueue_iter_t dsqueue_iter_next(MOO_UNUSED dsqueue_t *dsq, dsqueue_iter_t dsqi) { while (dsqi.block) { dsqi.sqi = squeue_iter_next(dsqi.block->sq, dsqi.sqi); if (dsqi.sqi) break; @@ -164,7 +164,7 @@ dsqueue_iter_t dsqueue_iter_next(MOO_UNSUED dsqueue_t *dsq, dsqueue_iter_t dsqi) /// Returns an iterator for the previous datum in the queue, /// or NULL if already at beginning-of-queue. -dsqueue_iter_t dsqueue_iter_prev(MOO_UNSUED dsqueue_t *dsq, dsqueue_iter_t dsqi) { +dsqueue_iter_t dsqueue_iter_prev(MOO_UNUSED dsqueue_t *dsq, dsqueue_iter_t dsqi) { while (dsqi.block) { dsqi.sqi = squeue_iter_prev(dsqi.block->sq, dsqi.sqi); if (dsqi.sqi) break; @@ -174,7 +174,7 @@ dsqueue_iter_t dsqueue_iter_prev(MOO_UNSUED dsqueue_t *dsq, dsqueue_iter_t dsqi) } /// Returns a true value if p is a valid iterator value, false otherwise. -char dsqueue_iter_valid(MOO_UNSUED dsqueue_t *dsq, dsqueue_iter_t dsqi) { +char dsqueue_iter_valid(MOO_UNUSED dsqueue_t *dsq, dsqueue_iter_t dsqi) { return (dsqi.block && dsqi.sqi && squeue_iter_valid(dsqi.block->sq, dsqi.sqi)); } |