Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/graph.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2017-04-15 14:33:50 -0400
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-04-16 08:29:54 -0400
commit1550938ce1a081c4edc058b55ee34b320b849299 (patch)
tree7f897805322cbb2262d85475d154e7b2fb7d8ef3 /lib/libalpm/graph.h
parent9c763a0d1ba8aa56b1ff54cd8d137c6b73e19f11 (diff)
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.h2
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;