From: Michael Beck Date: Thu, 2 Dec 2004 16:22:04 +0000 (+0000) Subject: fixed config.h include X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=f001e5b3cb89f984c977a9f7d4aef02cc3cc56eb;p=libfirm fixed config.h include [r4556] --- diff --git a/ir/adt/set.c b/ir/adt/set.c index ca4a8f417..dd7315b81 100644 --- a/ir/adt/set.c +++ b/ir/adt/set.c @@ -33,7 +33,7 @@ /* $Id$ */ #ifdef HAVE_CONFIG_H -# include +# include "config.h" #endif /* bcopy is not ISO C * diff --git a/ir/ana2/ecg.c b/ir/ana2/ecg.c index 05ab00d9d..e71c7e1a6 100644 --- a/ir/ana2/ecg.c +++ b/ir/ana2/ecg.c @@ -13,7 +13,7 @@ */ #ifdef HAVE_CONFIG_H -# include +# include "config.h" #endif /** @@ -1123,6 +1123,9 @@ void ecg_ecg () /* $Log$ + Revision 1.9 2004/12/02 16:17:50 beck + fixed config.h include + Revision 1.8 2004/11/30 14:45:44 liekweg fix graph dumping, remove 'HERE's diff --git a/ir/ana2/irmemwalk.c b/ir/ana2/irmemwalk.c index 2b885d5e4..13ee10b9a 100644 --- a/ir/ana2/irmemwalk.c +++ b/ir/ana2/irmemwalk.c @@ -21,7 +21,7 @@ # ifdef HAVE_CONFIG_H -# include +# include "config.h" # endif # include "irgwalk.h" /* for irg_walk_func */ @@ -261,6 +261,9 @@ void irg_walk_mem (ir_graph *graph, /* $Log$ + Revision 1.6 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.5 2004/11/19 10:35:20 liekweg also test for NoMem diff --git a/ir/ana2/lset.c b/ir/ana2/lset.c index 8ed89a268..d0c9a8390 100644 --- a/ir/ana2/lset.c +++ b/ir/ana2/lset.c @@ -14,7 +14,7 @@ # ifdef HAVE_CONFIG_H -# include +# include "config.h" # endif # include "lset.h" @@ -26,7 +26,10 @@ # endif /* not defined TRUE */ # include + +#ifdef HAVE_STRING_H # include /* need memset */ +#endif /* Lists, err, Sets @@ -191,6 +194,9 @@ void lset_destroy (lset_t *lset) /* $Log$ + Revision 1.2 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.1 2004/10/21 11:09:37 liekweg Moved memwalk stuf into irmemwalk Moved lset stuff into lset diff --git a/ir/ana2/pto.c b/ir/ana2/pto.c index a293db356..554866e0f 100644 --- a/ir/ana2/pto.c +++ b/ir/ana2/pto.c @@ -12,19 +12,21 @@ Licence: This file is protected by the GPL - GNU GENERAL PUBLIC LICENSE. */ -# ifdef HAVE_CONFIG_H -# include -# endif +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif /* pto: Entry to PTO */ -# include +#ifdef HAVE_STRING_H +# include +#endif # include "pto.h" -# include "irnode.h" +# include "irnode_t.h" # include "irprog.h" # include "xmalloc.h" @@ -132,6 +134,9 @@ void pto_cleanup () /* $Log$ + Revision 1.12 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.11 2004/11/30 15:49:27 liekweg include 'dump' diff --git a/ir/ana2/pto_comp.c b/ir/ana2/pto_comp.c index 3f4d04449..f2bfeaa7b 100644 --- a/ir/ana2/pto_comp.c +++ b/ir/ana2/pto_comp.c @@ -13,7 +13,7 @@ */ # ifdef HAVE_CONFIG_H -# include +# include "config.h" # endif /* @@ -28,7 +28,7 @@ # include "pto_ctx.h" # include "pto_mod.h" -# include "irnode.h" +# include "irnode_t.h" # include "irprog.h" # include "xmalloc.h" # include "irmemwalk.h" @@ -619,6 +619,9 @@ pto_t *get_alloc_pto (ir_node *alloc) /* $Log$ + Revision 1.6 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.5 2004/11/30 14:47:54 liekweg fix initialisation; do correct iteration diff --git a/ir/ana2/pto_ctx.c b/ir/ana2/pto_ctx.c index 868f969d2..20d9c16c4 100644 --- a/ir/ana2/pto_ctx.c +++ b/ir/ana2/pto_ctx.c @@ -13,7 +13,7 @@ */ # ifdef HAVE_CONFIG_H -# include +# include "config.h" # endif /* @@ -85,6 +85,9 @@ ctx_info_t *set_curr_ctx (ctx_info_t *ctx) /* $Log$ + Revision 1.4 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.3 2004/11/24 14:53:55 liekweg Bugfixes diff --git a/ir/ana2/pto_debug.c b/ir/ana2/pto_debug.c index 60f0a46ee..2dd2e4a7f 100644 --- a/ir/ana2/pto_debug.c +++ b/ir/ana2/pto_debug.c @@ -13,7 +13,7 @@ */ # ifdef HAVE_CONFIG_H -# include +# include "config.h" # endif /* @@ -56,6 +56,9 @@ void set_dbg_lvl (int lvl) /* $Log$ + Revision 1.3 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.2 2004/11/24 14:53:56 liekweg Bugfixes diff --git a/ir/ana2/pto_init.c b/ir/ana2/pto_init.c index 62208f310..23d24d0b1 100644 --- a/ir/ana2/pto_init.c +++ b/ir/ana2/pto_init.c @@ -12,9 +12,9 @@ Licence: This file is protected by the GPL - GNU GENERAL PUBLIC LICENSE. */ -# ifdef HAVE_CONFIG_H -# include -# endif +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif /* pto_init: Initialisation Functions @@ -422,6 +422,9 @@ void pto_reset_graph_pto (ir_graph *graph, int ctx_idx) /* $Log$ + Revision 1.8 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.7 2004/11/30 14:47:54 liekweg fix initialisation; do correct iteration diff --git a/ir/ana2/pto_mod.c b/ir/ana2/pto_mod.c index e85f07a62..8640b1b66 100644 --- a/ir/ana2/pto_mod.c +++ b/ir/ana2/pto_mod.c @@ -12,9 +12,9 @@ Licence: This file is protected by the GPL - GNU GENERAL PUBLIC LICENSE. */ -# ifdef HAVE_CONFIG_H -# include -# endif +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif /* pto_mod: Load/Store Transfer Functions @@ -92,6 +92,9 @@ int mod_load (ir_node *load, entity *ent, /* $Log$ + Revision 1.2 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.1 2004/11/30 14:47:54 liekweg fix initialisation; do correct iteration diff --git a/ir/ana2/pto_name.c b/ir/ana2/pto_name.c index 4d47eb5fb..ac64ec62e 100644 --- a/ir/ana2/pto_name.c +++ b/ir/ana2/pto_name.c @@ -12,9 +12,9 @@ Licence: This file is protected by the GPL - GNU GENERAL PUBLIC LICENSE. */ -# ifdef HAVE_CONFIG_H -# include -# endif +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif /* pto_name: Names for abstract objects @@ -424,6 +424,9 @@ void pto_name_cleanup () /* $Log$ + Revision 1.5 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.4 2004/11/30 15:49:27 liekweg include 'dump' diff --git a/ir/ana2/pto_util.c b/ir/ana2/pto_util.c index 7b1461d83..382e47131 100644 --- a/ir/ana2/pto_util.c +++ b/ir/ana2/pto_util.c @@ -12,9 +12,9 @@ Licence: This file is protected by the GPL - GNU GENERAL PUBLIC LICENSE. */ -# ifdef HAVE_CONFIG_H -# include -# endif +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif /* pto_util: Utilitites for PTO @@ -22,7 +22,7 @@ # include "pto_util.h" -# include "irnode.h" +# include "irnode_t.h" # include "irgwalk.h" # include "xmalloc.h" @@ -151,6 +151,9 @@ int is_dummy_load_ptr (ir_node *ptr) /* $Log$ + Revision 1.9 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.8 2004/11/26 15:59:14 liekweg recognize dummy loads diff --git a/ir/ana2/typalise.c b/ir/ana2/typalise.c index a2c9503b4..1a62bbd1a 100644 --- a/ir/ana2/typalise.c +++ b/ir/ana2/typalise.c @@ -14,7 +14,7 @@ # ifdef HAVE_CONFIG_H -# include +# include "config.h" # endif # include "typalise.h" @@ -25,9 +25,12 @@ # endif /* not defined TRUE */ # include + +#ifdef HAVE_STRING_H # include +#endif -# include "irnode.h" +# include "irnode_t.h" # include "irgwalk.h" # include "xmalloc.h" @@ -704,6 +707,9 @@ typalise_t *typalise (ir_node *node) /* $Log$ + Revision 1.3 2004/12/02 16:17:51 beck + fixed config.h include + Revision 1.2 2004/10/22 09:53:10 liekweg Correctly handle proj_args diff --git a/ir/common/firm.c b/ir/common/firm.c index 70ea2c89d..c169dced5 100644 --- a/ir/common/firm.c +++ b/ir/common/firm.c @@ -11,10 +11,15 @@ */ #ifdef HAVE_CONFIG_H -# include +# include "config.h" +#endif + +#ifdef HAVE_STRING_H +# include #endif # include + # include "ident_t.h" # include "firm.h" # include "mangle.h" diff --git a/ir/common/firm_common.c b/ir/common/firm_common.c index 2a7930135..0c9ec8dc6 100644 --- a/ir/common/firm_common.c +++ b/ir/common/firm_common.c @@ -12,7 +12,7 @@ #ifdef HAVE_CONFIG_H -# include +# include "config.h" #endif #include "firm_common_t.h" diff --git a/ir/common/firm_common_t.h b/ir/common/firm_common_t.h index 7e726beeb..c06b84dd7 100644 --- a/ir/common/firm_common_t.h +++ b/ir/common/firm_common_t.h @@ -21,10 +21,6 @@ # ifndef _COMMON_T_H_ # define _COMMON_T_H_ -#ifdef HAVE_CONFIG_H -# include -#endif - #include "firm_common.h" /* --- Global flags. --- */ diff --git a/ir/common/firmwalk.c b/ir/common/firmwalk.c index a0d7ee7b5..30019c0e7 100644 --- a/ir/common/firmwalk.c +++ b/ir/common/firmwalk.c @@ -11,10 +11,12 @@ */ #ifdef HAVE_CONFIG_H -# include +# include "config.h" #endif -#include +#ifdef HAVE_STRING_H +# include +#endif #include "firmwalk.h" diff --git a/ir/common/panic.c b/ir/common/panic.c index b73e2346f..a316e2f79 100644 --- a/ir/common/panic.c +++ b/ir/common/panic.c @@ -12,14 +12,14 @@ #ifdef HAVE_CONFIG_H -# include +# include "config.h" #endif # include -# include "panic.h" # include # include +# include "panic.h" void diff --git a/ir/debug/dbginfo.c b/ir/debug/dbginfo.c index 9520699b2..83b491d4c 100644 --- a/ir/debug/dbginfo.c +++ b/ir/debug/dbginfo.c @@ -12,7 +12,7 @@ #ifdef HAVE_CONFIG_H -# include +# include "config.h" #endif #include "dbginfo_t.h" diff --git a/ir/external/read.c b/ir/external/read.c index 727ab84fa..fca16c468 100644 --- a/ir/external/read.c +++ b/ir/external/read.c @@ -23,8 +23,9 @@ #ifdef HAVE_STDLIB_H # include #endif - +#ifdef HAVE_STRING_H # include +#endif #include "read_t.h" #include "read.h" @@ -1659,6 +1660,9 @@ void free_abstraction(void) { /* * $Log$ + * Revision 1.18 2004/12/02 16:21:42 beck + * fixed config.h include + * * Revision 1.17 2004/11/23 14:17:31 liekweg * fenced out currently unneeded static functions * diff --git a/ir/ident/ident.c b/ir/ident/ident.c index e0c97ccfa..bd799187e 100644 --- a/ir/ident/ident.c +++ b/ir/ident/ident.c @@ -11,7 +11,7 @@ */ #ifdef HAVE_CONFIG_H -# include +# include "config.h" #endif #include