summaryrefslogtreecommitdiff
path: root/include/queue.h
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 12:53:58 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 12:53:58 +0000
commit17c3451c18389990d74936e79ee19a4aa15e97d0 (patch)
tree3d3364c3120ad361b8951a1302be79bf83c2de4c /include/queue.h
parentb861a707522e8625b4a5b4145b97a8825037572f (diff)
downloadconntrack-tools-17c3451c18389990d74936e79ee19a4aa15e97d0.tar.gz
conntrack-tools-17c3451c18389990d74936e79ee19a4aa15e97d0.zip
Max Kellermann <max@duempel.org>:
use const when possible
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,