Unconditionally include string.h
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 28 Nov 2008 15:59:08 +0000 (15:59 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 28 Nov 2008 15:59:08 +0000 (15:59 +0000)
[r24124]

27 files changed:
ir/adt/pdeq.c
ir/adt/xmalloc.c
ir/ana/callgraph.c
ir/ana/cgana.c
ir/ana/interval_analysis.c
ir/ana/ircfscc.c
ir/ana/irdom.c
ir/ana/irloop.c
ir/ana/irouts.c
ir/ana/irscc.c
ir/common/firm.c
ir/common/firmwalk.c
ir/debug/debugger.c
ir/ir/irdump.c
ir/ir/irdumptxt.c
ir/ir/irgraph.c
ir/ir/irnode.c
ir/ir/irop.c
ir/ir/irprintf.c
ir/ir/irprog.c
ir/lower/lower_dw.c
ir/stat/firmstat.c
ir/tr/type.c
ir/tv/fltcalc.c
ir/tv/strcalc.c
ir/tv/tv.c
win32/config.h

index 09bf872..b5d1b31 100644 (file)
 # include <stdio.h>
 #endif
 #include <stdlib.h>
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
-
+#include <string.h>
 #include <assert.h>
 
 #include "fourcc.h"
index 79d7a63..cead506 100644 (file)
@@ -28,9 +28,7 @@
    [reimplement xstrdup, ... ] */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 #include <stdlib.h>
 
 #include "xmalloc.h"
index 3351160..938769c 100644 (file)
@@ -26,9 +26,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 #include <stdlib.h>
 
 #include "callgraph.h"
index f0459ca..7e3f96b 100644 (file)
@@ -33,9 +33,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
 # include <string.h>
-#endif
 
 #include "cgana.h"
 #include "rta.h"
index b0bc7de..5dedb02 100644 (file)
@@ -24,9 +24,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
 #include <string.h>
-#endif
 
 #include "debug.h"
 #include "interval_analysis.h"
index b4ad406..c069ed0 100644 (file)
@@ -28,9 +28,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
 #include <string.h>
-#endif
 
 #include "irloop_t.h"
 #include "irnode_t.h"
index b52dee6..829f36c 100644 (file)
@@ -26,9 +26,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
 #include <string.h>
-#endif
 
 #include "irouts.h"
 
index 21aef6d..d965bc8 100644 (file)
@@ -26,9 +26,7 @@
  */
 # include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 #include <stdlib.h>
 
 #include "irloop_t.h"
index f5eba03..3825146 100644 (file)
@@ -26,9 +26,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
 #include <string.h>
-#endif
 
 #include "xmalloc.h"
 #include "irouts.h"
index 7c3d8ab..bea7231 100644 (file)
@@ -29,9 +29,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 #include <stdlib.h>
 
 #include "irloop_t.h"
index 168a592..2b2e8c9 100644 (file)
@@ -29,9 +29,7 @@
 # include "firm_revision.h"
 #endif
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 #ifdef HAVE_STDIO_H
 # include <stdio.h>
 #endif
index a5132a7..d820324 100644 (file)
@@ -26,9 +26,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 
 #include "firmwalk.h"
 
index 313dc11..beba7e6 100644 (file)
 #include <stdlib.h>
 #include <stdio.h>
 #include <signal.h>
-
-#ifdef HAVE_STRING_H
 #include <string.h>
-#endif
+
 #ifdef HAVE_STRINGS_H
 #include <strings.h>
 #endif
index 9d09826..323f9fd 100644 (file)
@@ -25,9 +25,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
 #include <string.h>
-#endif
 #include <stdlib.h>
 #include <stdarg.h>
 
index 9a2df21..c4af212 100644 (file)
@@ -25,9 +25,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
 #include <string.h>
-#endif
 #include <stdlib.h>
 #include <stdarg.h>
 
index c4faad5..21f016d 100644 (file)
@@ -25,9 +25,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 #ifdef HAVE_STDDEF_H
 # include <stddef.h>
 #endif
index ec5d4d9..40c8573 100644 (file)
@@ -25,9 +25,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 
 #include "ident.h"
 #include "irnode_t.h"
index a95fcb0..6d18485 100644 (file)
@@ -25,9 +25,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 
 #include "irop_t.h"
 #include "irnode_t.h"
index ffa2b6b..5b288f5 100644 (file)
@@ -26,9 +26,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
 #include <string.h>
-#endif
 #ifdef HAVE_INTTYPES_H
 #include <inttypes.h>
 #endif
index 43ab84d..2f46876 100644 (file)
@@ -26,9 +26,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 
 #include "irprog_t.h"
 #include "irgraph_t.h"
index 464f5a3..edcf1e4 100644 (file)
@@ -26,9 +26,7 @@
  */
 #include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 #include <stdlib.h>
 #include <assert.h>
 
index 623fd54..7c9a7c4 100644 (file)
 
 #include <stdio.h>
 #include <stdlib.h>
-
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 
 #include "irouts.h"
 #include "irdump.h"
index 764b657..0984a39 100644 (file)
@@ -47,9 +47,7 @@
 
 #include "config.h"
 
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 #include <stdlib.h>
 #include <stddef.h>
 
index ba377b1..c352cbb 100644 (file)
@@ -39,9 +39,7 @@
 #ifdef HAVE_INTTYPES_H
 # include <inttypes.h>
 #endif
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <assert.h>
index 13e97da..82fe3aa 100644 (file)
@@ -28,9 +28,7 @@
 #include "config.h"
 
 #include <stdlib.h>
-#ifdef HAVE_STRING_H
-# include <string.h>  /* memset/memcmp */
-#endif
+#include <string.h>   /* memset/memcmp */
 #include <assert.h>   /* assertions */
 #include <stdio.h>    /* output for error messages */
 #include <limits.h>   /* definition of LONG_MIN, used in sc_get_val_from_long */
index 269b3e2..1caf7d3 100644 (file)
@@ -35,9 +35,7 @@
 
 #include <assert.h>         /* assertions */
 #include <stdlib.h>         /* atoi() */
-#ifdef HAVE_STRING_H
-# include <string.h>         /* nice things for strings */
-#endif
+#include <string.h>
 #ifdef HAVE_STRINGS_H
 #include <strings.h>        /* strings.h also includes bsd only function strcasecmp */
 #endif
index c09ae46..022d094 100644 (file)
@@ -29,9 +29,6 @@
 /* Define to 1 if you have the <strings.h> header file. */
 /* #undef HAVE_STRINGS_H */
 
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
 /* Define to 1 if you have the <sys/stat.h> header file. */
 #define HAVE_SYS_STAT_H 1