compiler_types.h in UAPI?

From: Andy Shevchenko
Date: Fri May 03 2024 - 14:58:14 EST


Hi!

Today I have stumbled over use of __force and other compiler_types.h related
things in UAPI headers. Can anybody explain to me how do they suppose to work
outside of the kernel? Or did I miss something obvious? Or it was a mistake
during UAPI split to move swab.h and byteorder/ (most of the users of those)
to UAPI in the first place?

--
With Best Regards,
Andy Shevchenko