summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index 08de452..6e428e4 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -96,15 +96,11 @@ struct apk_installed_package {
struct apk_package {
apk_hash_node hash_node;
+ unsigned int foreach_genid;
union {
struct apk_solver_package_state ss;
- struct {
- unsigned int foreach_genid;
- union {
- int state_int;
- void *state_ptr;
- };
- };
+ int state_int;
+ void *state_ptr;
};
struct apk_name *name;
struct apk_installed_package *ipkg;