summaryrefslogtreecommitdiffstats
path: root/src/expect/getter.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-11-09 22:36:01 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-11-09 22:36:10 +0100
commitc987b0ca80865a8202fec52f41a8d72fc923fc2a (patch)
tree318ab51f296028a89ec95199bc491684e2692552 /src/expect/getter.c
parent83811f719502e30a2a7b1bb780280258600f84f3 (diff)
src: declare non-modified data as const
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'src/expect/getter.c')
-rw-r--r--src/expect/getter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expect/getter.c b/src/expect/getter.c
index f2022d9..9cb6ede 100644
--- a/src/expect/getter.c
+++ b/src/expect/getter.c
@@ -37,7 +37,7 @@ static const void *get_exp_attr_flags(const struct nf_expect *exp)
return &exp->flags;
}
-get_exp_attr get_exp_attr_array[ATTR_EXP_MAX] = {
+const get_exp_attr get_exp_attr_array[ATTR_EXP_MAX] = {
[ATTR_EXP_MASTER] = get_exp_attr_master,
[ATTR_EXP_EXPECTED] = get_exp_attr_expected,
[ATTR_EXP_MASK] = get_exp_attr_mask,