diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-04-15 20:33:50 +0200 |
---|---|---|
committer | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-04-16 14:29:54 +0200 |
commit | 1550938ce1a081c4edc058b55ee34b320b849299 (patch) | |
tree | 7f897805322cbb2262d85475d154e7b2fb7d8ef3 /lib/libalpm/graph.h | |
parent | 9c763a0d1ba8aa56b1ff54cd8d137c6b73e19f11 (diff) | |
download | pacman-1550938ce1a081c4edc058b55ee34b320b849299.tar.gz pacman-1550938ce1a081c4edc058b55ee34b320b849299.tar.xz |
graph.h: rename childptr -> iterator
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Diffstat (limited to 'lib/libalpm/graph.h')
-rw-r--r-- | lib/libalpm/graph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/graph.h b/lib/libalpm/graph.h index 233862b9..75cec937 100644 --- a/lib/libalpm/graph.h +++ b/lib/libalpm/graph.h @@ -33,7 +33,7 @@ typedef struct __alpm_graph_t { void *data; struct __alpm_graph_t *parent; /* where did we come from? */ alpm_list_t *children; - alpm_list_t *childptr; /* points to a child in children list */ + alpm_list_t *iterator; /* used for DFS without recursion */ off_t weight; /* weight of the node */ enum __alpm_graph_vertex_state state; } alpm_graph_t; |