It's sad but not all compilers support c99 features, so drop
off IFLAG_INIT helper.
Reported-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
#define IF_GENBIT(bit) (UINT32_C(1) << (bit))
-#define IFLAG_INIT (iflag_t){ .field = { 0 }, }
-
static inline unsigned int iflag_test(const iflag_t *f, unsigned int bit)
{
unsigned int index = bit / 32;
static inline iflag_t _iflag_pfmask(const iflag_t *a)
{
- iflag_t r = IFLAG_INIT;
+ iflag_t r;
+
+ iflag_clear_all(&r);
if (iflag_test(a, IF_CYRIX))
iflag_set(&r, IF_CYRIX);