[LTP] [PATCH v2 1/5] tst_mallinfo.c: Add a common print helper for mallinfo

Cyril Hrubis chrubis@suse.cz
Mon Feb 8 16:30:15 CET 2021


Hi!
> > Just want to avoid random makefile. I am not sure which way is better.
> > Let's listen advise from other maintainers.

Given that its only one single function I would just put it into a
header as a static inline function.

Also mallopt is glibc specific so I guess that it makes sense to keep it
in a separate header.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list