<div dir="ltr">Hi all,<div><br></div><div>there are some preprocessor ifndefs which I don't completely understand but, from what I understand, they should be removed.</div><div><br></div><div>There are two contexts where it is used:</div>
<div><br></div><div><div>#ifndef _STDIO_H</div><div>#include <stdio.h></div><div>#endif</div></div><div><br></div><div>which is useless since this check should be done in stdio.h.</div><div><br></div><div>The other usage is:</div>
<div><br></div><div><div>#ifdef _STDIO_H</div><div>int do_label(FILE *, int);</div><div>#endif</div></div><div><br></div><div>which in case of not defined _STDIO_H will not declare that function and so it will break the code later in the compilation where this function is used (depending code is not marked by #ifdef).</div>
<div><br></div><div>It actually breaks with standard C library which does not define _STDIO_H but something else, e.g. the one which goes with the latest Mac OS X XCode (at least to my current understanding). I guess there is not reason to to "ifdef stdio.h" any parts of code now, so we can just remove all these.</div>
<div><br></div><div>Patch attached, once it is approved I will commit it. Compiled so far only on Ubuntu.</div><div><br></div><div>Objections? Explanations?</div><div><br></div><div>Vaclav</div><div><br></div></div>