diff --git a/src/strategyselector.c b/src/strategyselector.c index 87714c3c..72f2aa5a 100644 --- a/src/strategyselector.c +++ b/src/strategyselector.c @@ -31,7 +31,7 @@ #include #endif -hardware_flags g_hardware_flags; +hardware_flags_t g_hardware_flags; static void set_hardware_flags(int32_t cpuid); static void* strategyselector_choose_for(const strategy_list_t * const strategies, const char * const strategy_type); diff --git a/src/strategyselector.h b/src/strategyselector.h index bec472b6..63a26ba1 100644 --- a/src/strategyselector.h +++ b/src/strategyselector.h @@ -134,9 +134,9 @@ typedef struct { struct { int neon; } arm_flags; -} hardware_flags; +} hardware_flags_t; -extern hardware_flags g_hardware_flags; +extern hardware_flags_t g_hardware_flags; int strategyselector_init(int32_t cpuid);