avoid reading config.h twice
authorAkira TAGOH <akira@tagoh.org>
Thu, 26 Sep 2013 08:46:26 +0000 (17:46 +0900)
committerAkira TAGOH <akira@tagoh.org>
Thu, 26 Sep 2013 08:51:15 +0000 (17:51 +0900)
config.h is read from fcint.h now so having a line of the sort of #include "config.h"
is duplicate.

Bug 69833 - Incorrect SIZEOF_VOID_P and ALIGNOF_DOUBLE definitions causes nasty warnings on MacOSX when building fat libraries

src/fcarch.c
src/fccache.c
src/fccompat.c
src/fchash.c
src/fcstat.c

index 21516ff..398f4bb 100644 (file)
 
 #include <stdio.h>
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include "fcint.h"
 #include "fcarch.h"
 
index e02d49e..3568595 100644 (file)
@@ -20,9 +20,6 @@
  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  * PERFORMANCE OF THIS SOFTWARE.
  */
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
 #include "fcint.h"
 #include "fcarch.h"
 #include <stdio.h>
index d4f88c8..1c2ba8b 100644 (file)
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #include "fcint.h"
 
 #include <errno.h>
index 7216bee..3830002 100644 (file)
@@ -23,9 +23,6 @@
  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  * PERFORMANCE OF THIS SOFTWARE.
  */
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
 #include "fcint.h"
 #include <stdio.h>
 #include <string.h>
index ab56aca..ff8e884 100644 (file)
@@ -20,9 +20,6 @@
  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  * PERFORMANCE OF THIS SOFTWARE.
  */
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
 #include "fcint.h"
 #include "fcarch.h"
 #include <dirent.h>