summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-05 06:58:55 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-05 06:58:55 +0200
commitf69552b1f85f08e1ae3651f2bc1810aa2f5c1af7 (patch)
tree657c1fcd6fbc8fee4d41e9b784d20706df869e69 /config.c
parentdf13b3ade3f366446033214b3a85228005c014ea (diff)
downloadnetifd-f69552b1f85f08e1ae3651f2bc1810aa2f5c1af7.tar.gz
constify
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 31ebb8d..b184165 100644
--- a/config.c
+++ b/config.c
@@ -140,7 +140,7 @@ config_parse_bridge_interface(struct uci_section *s)
}
void
-config_set_state(struct config_state *state, struct blob_attr *attr)
+config_set_state(struct config_state *state, const struct blob_attr *attr)
{
state->data = malloc(blob_pad_len(attr));
if (!state->data)