diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-09-05 15:16:10 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-09-05 15:16:10 +0000 |
commit | 53681cbdb64fbd4a4dc18be76781c94a468a6042 (patch) | |
tree | b8ae3fd07645b13080425acb2b3b379650ca4ac0 /queue.c | |
parent | 5a6404712c54bb3b5746467e6b84baf9d42864b0 (diff) |
* use own assertions which should get logged properly
--HG--
extra : convert_revision : 3dc365619f0840ab5781660b1257a9f22c05d3fe
Diffstat (limited to 'queue.c')
-rw-r--r-- | queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ void* dequeue(struct Queue* queue) { void* ret; struct Link* oldhead; - assert(!isempty(queue)); + dropbear_assert(!isempty(queue)); ret = queue->head->item; oldhead = queue->head; @@ -62,7 +62,7 @@ void* dequeue(struct Queue* queue) { void *examine(struct Queue* queue) { - assert(!isempty(queue)); + dropbear_assert(!isempty(queue)); return queue->head->item; } |