Hi!
> So instead you can implement in a header once:
>
> #ifndef TST_NO_LIBLTP
> static inline void test_brk(int i, char *s, long d)
> {
> abort();
> }
> #endif
>
> And then the downstream users don't need to have #ifdefs littering their logic.
>
> Again, just an idea.
That indeed looks better, will send v2.
--
Cyril Hrubis
chrubis@suse.cz