summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index d270e18..a47586b 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -87,16 +87,12 @@ struct apk_name {
struct apk_provider_array *providers;
struct apk_name_array *rdepends;
struct apk_name_array *rinstall_if;
+ unsigned int foreach_genid;
union {
struct apk_solver_name_state ss;
- struct {
- unsigned int foreach_genid;
- union {
- void *state_ptr;
- int state_int;
- };
- };
+ void *state_ptr;
+ int state_int;
};
};