projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b935f
)
rename ucimap_data::section to ptr
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Sep 2009 01:23:01 +0000
(
03:23
+0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Sep 2009 01:23:01 +0000
(
03:23
+0200)
ucimap.c
patch
|
blob
|
history
ucimap.h
patch
|
blob
|
history
diff --git
a/ucimap.c
b/ucimap.c
index 7637bd5572d2fd22f2c1127dc80bd21c3cd98f29..7f2cf38bd3fed7a8e3a7dc6a888c2af9acd5cb7f 100644
(file)
--- a/
ucimap.c
+++ b/
ucimap.c
@@
-193,11
+193,11
@@
ucimap_handle_fixup(struct uci_map *map, struct uci_fixup *f)
switch(f->type & UCIMAP_TYPE) {
case UCIMAP_SIMPLE:
- f->data->
section
= ptr;
+ f->data->
ptr
= ptr;
break;
case UCIMAP_LIST:
list = f->data->list;
- list->item[list->n_items++].
section
= ptr;
+ list->item[list->n_items++].
ptr
= ptr;
break;
}
return true;
diff --git
a/ucimap.h
b/ucimap.h
index d9aa2d9e957d982a4430a673d9e91c0f66f4b7c9..d56d8ef99113ca935866f52043e7cd8721f46851 100644
(file)
--- a/
ucimap.h
+++ b/
ucimap.h
@@
-82,7
+82,7
@@
union ucimap_data {
int i;
bool b;
char *s;
- void *
section
;
+ void *
ptr
;
struct ucimap_list *list;
};