projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turn ucimap-example.c into a test case
[project/uci.git]
/
ucimap.h
diff --git
a/ucimap.h
b/ucimap.h
index
9922f0f
..
ccd6127
100644
(file)
--- a/
ucimap.h
+++ b/
ucimap.h
@@
-109,7
+109,7
@@
struct uci_sectionmap {
/* sectionmap offset, filled in by macro */
unsigned int smap_offset;
/* sectionmap offset, filled in by macro */
unsigned int smap_offset;
- /*
allocate a new data structure and return a pointer to the section map data
*/
+ /*
return a pointer to the section map data (allocate if necessary)
*/
struct ucimap_section_data *(*alloc)(struct uci_map *map,
struct uci_sectionmap *sm, struct uci_section *s);
struct ucimap_section_data *(*alloc)(struct uci_map *map,
struct uci_sectionmap *sm, struct uci_section *s);