summaryrefslogtreecommitdiffhomepage
path: root/queue.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-09-05 15:16:10 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-09-05 15:16:10 +0000
commit53681cbdb64fbd4a4dc18be76781c94a468a6042 (patch)
treeb8ae3fd07645b13080425acb2b3b379650ca4ac0 /queue.c
parent5a6404712c54bb3b5746467e6b84baf9d42864b0 (diff)
* use own assertions which should get logged properly
--HG-- extra : convert_revision : 3dc365619f0840ab5781660b1257a9f22c05d3fe
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/queue.c b/queue.c
index caf6145..7a80124 100644
--- a/queue.c
+++ b/queue.c
@@ -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;
}