diff options
Diffstat (limited to 'src/queue.c')
-rw-r--r-- | src/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue.c b/src/queue.c index 3413013..e73d692 100644 --- a/src/queue.c +++ b/src/queue.c @@ -122,7 +122,7 @@ void queue_iterate(struct queue *b, } } -unsigned int queue_len(struct queue *b) +unsigned int queue_len(const struct queue *b) { return b->num_elems; } |