<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Xu,</div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr"><div class="gmail_default" style="font-size:small">Thanks for your work.</div></div><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
--- /dev/null<br>
+++ b/include/tst_mallinfo.h<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Do we really need to export this function into the LTP library?</div><div class="gmail_default" style="font-size:small">(I assumed no other tests will using this lib function anymore)</div><div class="gmail_default" style="font-size:small"><br>So I prefer to create a common header file as:</div><div class="gmail_default" style="font-size:small"> ../syscalls/mallinfo/mallinfo_common.h,</div><div class="gmail_default" style="font-size:small">and just use it locally.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you're hoping mallopt01.c also benefits from it, only need to</div><div class="gmail_default" style="font-size:small">build something like mallinfo_commo.o via Makefile and include</div><div class="gmail_default" style="font-size:small">it in mallopt01.c by "../mallinfo/mallinfo_common.h".</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>