Remove static keyword for __kCFBooleanTrue and __kCFBooleanFalse

Fixes #1191

See https://github.com/darlinghq/darling/issues/1191#issuecomment-1180585614 for explantion
This commit is contained in:
Thomas A 2022-07-13 20:33:56 -07:00
parent 2d4d7361a8
commit e23692a114

View File

@ -45,12 +45,12 @@ struct __CFBoolean {
CFRuntimeBase _base;
};
static struct __CFBoolean __kCFBooleanTrue = {
struct __CFBoolean __kCFBooleanTrue = {
INIT_CFRUNTIME_BASE()
};
const CFBooleanRef kCFBooleanTrue = &__kCFBooleanTrue;
static struct __CFBoolean __kCFBooleanFalse = {
struct __CFBoolean __kCFBooleanFalse = {
INIT_CFRUNTIME_BASE()
};
const CFBooleanRef kCFBooleanFalse = &__kCFBooleanFalse;