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 /include/cache.h | |
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 'include/cache.h')
-rw-r--r-- | include/cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cache.h b/include/cache.h index f5e9576..5ca6ce4 100644 --- a/include/cache.h +++ b/include/cache.h @@ -83,7 +83,7 @@ struct us_conntrack *cache_update(struct cache *c, struct nf_conntrack *ct); struct us_conntrack *cache_update_force(struct cache *c, struct nf_conntrack *ct); int cache_del(struct cache *c, struct nf_conntrack *ct); int cache_test(struct cache *c, struct nf_conntrack *ct); -void cache_stats(struct cache *c, int fd); +void cache_stats(const struct cache *c, int fd); struct us_conntrack *cache_get_conntrack(struct cache *, void *); void *cache_get_extra(struct cache *, void *); void cache_iterate(struct cache *c, void *data, int (*iterate)(void *data1, void *data2)); |