From: Aleksey Demakov Date: Thu, 30 Apr 2009 03:45:09 +0000 (+0000) Subject: cosmetic changes X-Git-Tag: before.move.to.git~6 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=7cc4673d37d7cf069df96aa2bdfc0a13d0ac2862;p=francis%2Flibjit.git cosmetic changes --- diff --git a/tools/gen-rules-parser.y b/tools/gen-rules-parser.y index d95384a..dbda4d7 100644 --- a/tools/gen-rules-parser.y +++ b/tools/gen-rules-parser.y @@ -22,15 +22,15 @@ */ #include -#include #include +#include +#ifdef HAVE_STDLIB_H +# include +#endif #ifdef HAVE_STRING_H - #include +# include #elif defined(HAVE_STRINGS_H) - #include -#endif -#ifdef HAVE_STDLIB_H - #include +# include #endif /* diff --git a/tools/gen-rules-scanner.l b/tools/gen-rules-scanner.l index 3e99d54..34b0173 100644 --- a/tools/gen-rules-scanner.l +++ b/tools/gen-rules-scanner.l @@ -23,17 +23,18 @@ #include "gen-rules-parser.h" #include -#ifdef HAVE_STRING_H - #include -#elif defined(HAVE_STRINGS_H) - #include -#endif #include #ifdef HAVE_STDLIB_H - #include +# include #endif +#ifdef HAVE_STRING_H +# include +#elif defined(HAVE_STRINGS_H) +# include +#endif + #ifndef HAVE_UNISTD_H - #define YY_NO_UNISTD_H +# define YY_NO_UNISTD_H #endif extern YYSTYPE yylval;