diff options
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 |
commit | 17c3451c18389990d74936e79ee19a4aa15e97d0 (patch) | |
tree | 3d3364c3120ad361b8951a1302be79bf83c2de4c /src/queue.c | |
parent | b861a707522e8625b4a5b4145b97a8825037572f (diff) | |
download | conntrack-tools-17c3451c18389990d74936e79ee19a4aa15e97d0.tar.gz conntrack-tools-17c3451c18389990d74936e79ee19a4aa15e97d0.zip |
Max Kellermann <max@duempel.org>:
use const when possible
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; } |