From: Felix Fietkau Date: Sun, 30 Aug 2009 00:55:22 +0000 (+0200) Subject: ucimap: clarify alloc X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=commitdiff_plain;h=f85abaa9f87af0d3ab54c33f3ef1a98784d84e83 ucimap: clarify alloc --- 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);