lib/openat.c uses 'bool' and relies on openat.h for <stdbool.h>. This is a
pitfall for future refactorings and makes dependency analysis a bit harder
than needed. It's better to make the include explicit.


2011-11-05  Bruno Haible  <[email protected]>

        openat: Include <stdbool.h>.
        * lib/openat.c: Include <stdbool.h>.

*** lib/openat.c.orig   Sat Nov  5 09:42:47 2011
--- lib/openat.c        Sat Nov  5 03:23:32 2011
***************
*** 42,47 ****
--- 42,48 ----
  #include "openat.h"
  
  #include <stdarg.h>
+ #include <stdbool.h>
  #include <stddef.h>
  #include <string.h>
  #include <sys/stat.h>

-- 
In memoriam Bernhard Lichtenberg 
<http://en.wikipedia.org/wiki/Bernhard_Lichtenberg>

Reply via email to