From 7cc4673d37d7cf069df96aa2bdfc0a13d0ac2862 Mon Sep 17 00:00:00 2001 From: Aleksey Demakov Date: Thu, 30 Apr 2009 03:45:09 +0000 Subject: [PATCH] cosmetic changes --- tools/gen-rules-parser.y | 12 ++++++------ tools/gen-rules-scanner.l | 15 ++++++++------- 2 files changed, 14 insertions(+), 13 deletions(-) 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; -- 2.47.3