[LTP] [PATCH v1] include/tst_timer: Add TST_NO_LIBLTP

Cyril Hrubis chrubis@suse.cz
Thu Jun 27 12:26:29 CEST 2024


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


More information about the ltp mailing list