Aharon Robbins wrote:
Since dfa.h now include <stdbool.h>, you don't need to do it in dfa.c

Thanks.  stddef.h too.  I pushed the attached patch.
From 140c401e6a73cc0d6e4febfdf29e6bb60212f230 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Sat, 10 May 2014 20:14:01 -0700
Subject: [PATCH] dfa: omit double includes

* src/dfa.c: Don't include stddef.h or stdbool.h, as dfa.h includes
them already, and it's the same module as we are.
Suggested by Aharon Robbins in: http://bugs.gnu.org/17458
---
 src/dfa.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/dfa.c b/src/dfa.c
index ba19a72..3c9cb75 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -27,12 +27,10 @@
 #include <assert.h>
 #include <ctype.h>
 #include <stdio.h>
-#include <stddef.h>
 #include <stdlib.h>
 #include <limits.h>
 #include <string.h>
 #include <locale.h>
-#include <stdbool.h>
 
 #define STREQ(a, b) (strcmp (a, b) == 0)
 
-- 
1.9.0

Reply via email to