projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df13b3a
)
constify
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 5 Sep 2011 04:58:55 +0000
(06:58 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 5 Sep 2011 04:58:55 +0000
(06:58 +0200)
config.c
patch
|
blob
|
history
config.h
patch
|
blob
|
history
diff --git
a/config.c
b/config.c
index 31ebb8dc117001a4f31ca48d46215964b88ca7ac..b18416516dd71da55785329a71c5147ddc83f690 100644
(file)
--- 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)
diff --git
a/config.h
b/config.h
index 49a81e4ac483db786515292741e9cbe4361b6c9a..22a562f0d4637a829e44d3e3402a9f031cc1ffde 100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-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