From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Mon, 8 Feb 2021 16:30:15 +0100 Subject: [LTP] [PATCH v2 1/5] tst_mallinfo.c: Add a common print helper for mallinfo In-Reply-To: References: <1612440762-22389-1-git-send-email-xuyang2018.jy@cn.fujitsu.com> <601CF76D.8020705@cn.fujitsu.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it 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