summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-08-24 15:26:25 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-08-24 15:26:25 +0300
commite2afc7e7a9960eaf6cb40267bc1f39aa6638dccb (patch)
tree267888911a9f46b096e5c76689c6f1fbf5acea28 /src/apk_package.h
parentf3cf824948f11cd7b9af4b7e7232c71b5e96d89b (diff)
downloadapk-tools-e2afc7e7a9960eaf6cb40267bc1f39aa6638dccb.tar.gz
apk-tools-e2afc7e7a9960eaf6cb40267bc1f39aa6638dccb.tar.bz2
apk-tools-e2afc7e7a9960eaf6cb40267bc1f39aa6638dccb.tar.xz
apk-tools-e2afc7e7a9960eaf6cb40267bc1f39aa6638dccb.zip
fix, simplify and document upgrade --ignore
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;