summaryrefslogtreecommitdiff
path: root/ucimap.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-08-30 02:55:22 +0200
committerFelix Fietkau <nbd@openwrt.org>2009-08-30 02:55:22 +0200
commitf85abaa9f87af0d3ab54c33f3ef1a98784d84e83 (patch)
treeabb0c904f76ccb62ca2822ad22c65f195f3503ab /ucimap.h
parent288e37d1e9223514c0b4a8d4c45f3aa82c042212 (diff)
downloaduci-f85abaa9f87af0d3ab54c33f3ef1a98784d84e83.tar.gz
ucimap: clarify alloc
Diffstat (limited to 'ucimap.h')
-rw-r--r--ucimap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucimap.h b/ucimap.h
index 9922f0f..ccd6127 100644
--- a/ucimap.h
+++ b/ucimap.h
@@ -109,7 +109,7 @@ struct uci_sectionmap {
/* 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);