From f85abaa9f87af0d3ab54c33f3ef1a98784d84e83 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 30 Aug 2009 02:55:22 +0200 Subject: [PATCH] ucimap: clarify alloc --- ucimap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0