summaryrefslogtreecommitdiffhomepage
path: root/queue.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-01-02 20:25:56 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-01-02 20:25:56 +0000
commit8c1a429c446d00ad2030814e9f3d7afccc08ddf8 (patch)
tree3680041dbbb983431d917652be96d2879f1f6820 /queue.c
parentb5bd8591e7bc35980370ffa5dbe74d9b137e75c7 (diff)
Fixed DEBUG_TRACE macro so that we don't get semicolons left about the place
--HG-- extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/queue.c b/queue.c
index a1352dc..caf6145 100644
--- a/queue.c
+++ b/queue.c
@@ -52,7 +52,7 @@ void* dequeue(struct Queue* queue) {
} else {
queue->head = NULL;
queue->tail = NULL;
- TRACE(("empty queue dequeing"));
+ TRACE(("empty queue dequeing"))
}
m_free(oldhead);
@@ -70,7 +70,7 @@ void enqueue(struct Queue* queue, void* item) {
struct Link* newlink;
- TRACE(("enter enqueue"));
+ TRACE(("enter enqueue"))
newlink = (struct Link*)m_malloc(sizeof(struct Link));
newlink->item = item;
@@ -85,5 +85,5 @@ void enqueue(struct Queue* queue, void* item) {
queue->head = newlink;
}
queue->count++;
- TRACE(("leave enqueue"));
+ TRACE(("leave enqueue"))
}