summaryrefslogtreecommitdiff
path: root/lib/libalpm/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/graph.h')
-rw-r--r--lib/libalpm/graph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/graph.h b/lib/libalpm/graph.h
index 25605bef..f4045f5a 100644
--- a/lib/libalpm/graph.h
+++ b/lib/libalpm/graph.h
@@ -24,12 +24,12 @@
#include "alpm_list.h"
typedef struct __alpm_graph_t {
- char state; /* 0: untouched, -1: entered, other: leaving time */
- off_t weight; /* weight of the node */
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 */
+ off_t weight; /* weight of the node */
+ char state; /* 0: untouched, -1: entered, other: leaving time */
} alpm_graph_t;
alpm_graph_t *_alpm_graph_new(void);