From cd68df2c254e4341652f30aecee304b314fac8ff Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 1 Sep 2009 03:23:01 +0200 Subject: [PATCH] rename ucimap_data::section to ptr --- ucimap.c | 4 ++-- ucimap.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ucimap.c b/ucimap.c index 7637bd5..7f2cf38 100644 --- 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 d9aa2d9..d56d8ef 100644 --- 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; }; -- 2.41.0