<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Tarun Sahu <<a href="mailto:tsahu@linux.ibm.com">tsahu@linux.ibm.com</a>> wrote:<br></div></div><div class="gmail_quote"><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
+<br>
+static void per_iteration_cleanup(void)<br>
+{<br>
+ for (int nr = 0; nr < NR_SLOTS; nr++) {<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">Here the for-loop usage is introduced from C99, we have to avoid</div><div class="gmail_default" style="font-size:small">definition in the loop to dismiss compiling broken on old compilers.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">See: <a href="https://github.com/wangli5665/ltp/actions/runs/3261830153/jobs/5357590260">https://github.com/wangli5665/ltp/actions/runs/3261830153/jobs/5357590260</a></div></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
+<br>
+static void setup(void)<br>
+{<br>
+ if (!Hopt)<br>
+ Hopt = tst_get_tmpdir();<br>
+ SAFE_MOUNT("none", Hopt, "hugetlbfs", 0, NULL);<br>
+ for (int nr = 0; nr < NR_SLOTS; nr++) {<br></blockquote><div><br></div><div><br></div><div><div class="gmail_default" style="font-size:small">Here as well ^</div></div><div><br></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>