diff options
author | Timo Teräs <timo.teras@iki.fi> | 2020-10-05 15:59:00 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-10-09 16:09:19 +0300 |
commit | 9afb4e8fd117d7d130e5b4b75869765ecfbe2fa7 (patch) | |
tree | b609ed342c6ec32aaf83456b44a86d2adbf98dd4 /src/apk_defines.h | |
parent | b2af872fff8af2dcde8500f84843c8fa4d554579 (diff) | |
download | apk-tools-9afb4e8fd117d7d130e5b4b75869765ecfbe2fa7.tar.gz apk-tools-9afb4e8fd117d7d130e5b4b75869765ecfbe2fa7.tar.bz2 apk-tools-9afb4e8fd117d7d130e5b4b75869765ecfbe2fa7.tar.xz apk-tools-9afb4e8fd117d7d130e5b4b75869765ecfbe2fa7.zip |
make apk_force non-global, remove left-over apk_arch
ref #10682
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r-- | src/apk_defines.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h index dc38a0e..187b455 100644 --- a/src/apk_defines.h +++ b/src/apk_defines.h @@ -69,8 +69,7 @@ static inline int IS_ERR_OR_NULL(const void *ptr) { return IS_ERR(ptr) || !ptr; #define ROUND_UP(x,a) (((x)+(a)-1) & ~((a)-1)) extern int apk_verbosity; -extern unsigned int apk_flags, apk_force; -extern const char *apk_arch; +extern unsigned int apk_flags; extern char **apk_argv; #define APK_SIMULATE 0x0002 @@ -86,13 +85,6 @@ extern char **apk_argv; #define APK_NO_CACHE 0x8000 #define APK_NO_COMMIT_HOOKS 0x00010000 -#define APK_FORCE_OVERWRITE BIT(0) -#define APK_FORCE_OLD_APK BIT(1) -#define APK_FORCE_BROKEN_WORLD BIT(2) -#define APK_FORCE_REFRESH BIT(3) -#define APK_FORCE_NON_REPOSITORY BIT(4) -#define APK_FORCE_BINARY_STDOUT BIT(5) - /* default architecture for APK packages. */ #if defined(__x86_64__) #define APK_DEFAULT_ARCH "x86_64" |