Always include config.h.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Mon, 13 Oct 2008 16:29:15 +0000 (16:29 +0000)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Mon, 13 Oct 2008 16:29:15 +0000 (16:29 +0000)
[r22843]

13 files changed:
ir/ana/absgraph.c
ir/ana/dfs.c
ir/ana/irlivechk.c
ir/ana/irloop.c
ir/be/becopyheur4.c
ir/be/becopyilp.c
ir/be/becopyilp1.c
ir/be/becopyilp2.c
ir/be/bemodule.c
ir/debug/firm_ycomp.c
ir/net/firmnet.c
ir/obstack/obstack.c
ir/obstack_win/obstack.c

index efd9c0e..e2c9bc2 100644 (file)
@@ -26,9 +26,7 @@
  *
  * Abstract graph implementations for the CFG of a ir_graph.
  */
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "irgraph_t.h"
 #include "iredges_t.h"
index 4a66806..9fedfee 100644 (file)
@@ -26,9 +26,7 @@
  *
  * Simple depth first search on CFGs.
  */
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <stdlib.h>
 
index cb46485..2b9038e 100644 (file)
@@ -37,9 +37,7 @@
  *
  * The precomputation remains valid as long as the CFG is not altered.
  */
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <stdio.h>
 
index 6ef5061..2f655a6 100644 (file)
@@ -24,9 +24,7 @@
  * @date     7.2002
  * @version  $Id: irloop_t.h 17143 2008-01-02 20:56:33Z beck $
  */
-#ifdef HAVE_CONFIG_H
 # include "config.h"
-#endif
 
 #ifdef HAVE_STRING_H
 # include <string.h>
index 9a608fd..feb2b79 100644 (file)
@@ -29,7 +29,7 @@
  * (also known as "heur3" :)
  * Performs simple copy minimization.
  */
-#include "config.h" /* HAVE_CONFIG_H */
+#include "config.h"
 
 #define DISABLE_STATEV
 
index 3120588..53e54e6 100644 (file)
@@ -24,7 +24,7 @@
  * @date        28.02.2006
  * @version     $Id$
  */
-#include "config.h" /* HAVE_CONFIG_H */
+#include "config.h"
 
 #include "irtools.h"
 #include "irprintf.h"
index 44c16d4..b248d18 100644 (file)
@@ -24,7 +24,7 @@
  * @date    17.05.2005
  * @version $Id$
  */
-#include "config.h" /* HAVE_CONFIG_H */
+#include "config.h"
 
 #ifdef WITH_ILP
 
index b95deea..06cb43e 100644 (file)
@@ -44,7 +44,7 @@
  *
  *             x_nc, y_ij \in N,   w_ij \in R^+
  */
-#include "config.h" /* HAVE_CONFIG_H */
+#include "config.h"
 
 #ifdef WITH_ILP
 
index 0143538..ec8c574 100644 (file)
@@ -24,9 +24,7 @@
  * @date        29.09.2005
  * @version     $Id$
  */
-#ifndef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <stdlib.h>
 
index b07bae3..36f5916 100644 (file)
@@ -24,7 +24,7 @@
  * @date       16.11.2006
  * @version    $Id$
  */
-#include "config.h" /* HAVE_CONFIG_H */
+#include "config.h"
 
 #include "assert.h"
 #include "irhooks.h"
index 82a40dc..3c6df30 100644 (file)
@@ -25,7 +25,7 @@
  * @version $Id$
  */
 
-#include "config.h" /* HAVE_CONFIG_H */
+#include "config.h"
 
 #include "firmnet_t.h"
 
index 3df7b98..6d11674 100644 (file)
@@ -17,9 +17,7 @@
    License along with the GNU C Library; if not, write to the Free
    Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    Boston, MA 02110-1301, USA.  */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "obstack.h"
 
@@ -94,7 +92,7 @@ int obstack_exit_failure = EXIT_FAILURE;
       (*(void (*) (void *)) (h)->freefun) ((old_chunk)); \
   } while (0)
 
-\f
+
 /* Initialize an obstack H for use.  Specify chunk size SIZE (0 means default).
    Objects start on multiples of ALIGNMENT (0 means use default).
    CHUNKFUN is the function to use to allocate chunks,
@@ -295,7 +293,7 @@ _obstack_allocated_p (struct obstack *h, void *obj)
     }
   return lp != 0;
 }
-\f
+
 /* Free objects in obstack H, including OBJ and everything allocate
    more recently than OBJ.  If OBJ is zero, free everything in H.  */
 
index c1ef4cb..2c82bf8 100644 (file)
@@ -20,9 +20,7 @@
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
    USA.  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <stdlib.h>
 #include "obstack.h"
@@ -138,7 +136,7 @@ struct obstack *_obstack;
   } while (0)
 #endif
 
-\f
+
 /* Initialize an obstack H for use.  Specify chunk size SIZE (0 means default).
    Objects start on multiples of ALIGNMENT (0 means use default).
    CHUNKFUN is the function to use to allocate chunks,
@@ -361,7 +359,7 @@ _obstack_allocated_p (h, obj)
     }
   return lp != 0;
 }
-\f
+
 /* Free objects in obstack H, including OBJ and everything allocate
    more recently than OBJ.  If OBJ is zero, free everything in H.  */
 
@@ -435,7 +433,7 @@ obstack_free (h, obj)
     /* obj is not in any of the chunks! */
     abort ();
 }
-\f
+
 int
 _obstack_memory_used (h)
      struct obstack *h;
@@ -449,7 +447,7 @@ _obstack_memory_used (h)
     }
   return nbytes;
 }
-\f
+
 /* Define the error handler.  */
 #ifndef _
 # if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
@@ -468,7 +466,7 @@ print_and_abort ()
   fputs (_("memory exhausted\n"), stderr);
   exit (obstack_exit_failure);
 }
-\f
+
 #if 0
 /* These are now turned off because the applications do not use it
    and it uses bcopy via obstack_grow, which causes trouble on sysV.  */