From 1550938ce1a081c4edc058b55ee34b320b849299 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 15 Apr 2017 14:33:50 -0400 Subject: graph.h: rename childptr -> iterator Signed-off-by: Andrew Gregory --- lib/libalpm/graph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/graph.h') 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; -- cgit v1.2.3-24-g4f1b