On Wed, Jan 31, 2018 at 10:41:45AM +0100, Martin Kletzander wrote:
If we reorder the functions properly, we only need to have few stub
functions
for non-Linux platforms and it is also nicer to look at and read if they are in
one place with only one preprocessor condition. The order after this patch is:
- Class allocation and Static functions (used by everything, static dependencies)
- Linux-only functions
- Non-Linux stubs
- Exported functions (as they rely on all previous functions)
One of the functions (latest addition) needs to be moved due to non-Linux, I'll
move it, don't look at this patch, I'll send a v2, check the rest in the meatime
;)