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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index f743c3e..8945cd8 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -93,8 +93,6 @@ struct apk_installed_package {
unsigned broken_script : 1;
};
-#define APK_PKG_UNINSTALLABLE ((char*) -1)
-
struct apk_package {
apk_hash_node hash_node;
union {
@@ -117,6 +115,7 @@ struct apk_package {
size_t installed_size, size;
time_t build_time;
unsigned marked : 1;
+ unsigned uninstallable : 1;
unsigned repos : APK_MAX_REPOS;
struct apk_checksum csum;
};