diff options
-rw-r--r-- | config.c | 2 | ||||
-rw-r--r-- | config.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) @@ -28,7 +28,7 @@ struct config_state { unsigned int version; }; -void config_set_state(struct config_state *state, struct blob_attr *attr); +void config_set_state(struct config_state *state, const struct blob_attr *attr); #endif |