summaryrefslogtreecommitdiffstats
path: root/src/expect/setter.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/setter.c
parent83811f719502e30a2a7b1bb780280258600f84f3 (diff)
src: declare non-modified data as const
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'src/expect/setter.c')
-rw-r--r--src/expect/setter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expect/setter.c b/src/expect/setter.c
index 1270860..040b958 100644
--- a/src/expect/setter.c
+++ b/src/expect/setter.c
@@ -37,7 +37,7 @@ static void set_exp_attr_flags(struct nf_expect *exp, const void *value)
exp->flags = *((u_int32_t *) value);
}
-set_exp_attr set_exp_attr_array[ATTR_EXP_MAX] = {
+const set_exp_attr set_exp_attr_array[ATTR_EXP_MAX] = {
[ATTR_EXP_MASTER] = set_exp_attr_master,
[ATTR_EXP_EXPECTED] = set_exp_attr_expected,
[ATTR_EXP_MASK] = set_exp_attr_mask,