summaryrefslogtreecommitdiff
path: root/include/queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/queue.h')
-rw-r--r--include/queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/queue.h b/include/queue.h
index 691138f..f568da4 100644
--- a/include/queue.h
+++ b/include/queue.h
@@ -21,7 +21,7 @@ struct queue_node {
struct queue *queue_create(size_t max_size);
void queue_destroy(struct queue *b);
-unsigned int queue_len(struct queue *b);
+unsigned int queue_len(const struct queue *b);
int queue_add(struct queue *b, const void *data, size_t size);
void queue_del(struct queue *b, void *data);
void queue_iterate(struct queue *b,