From 8a8b2522aac4612a24d51fc514e782a1f8b6f3f4 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 3 Apr 2006 13:45:13 +0000 Subject: [PATCH] used "obst.h" instead of --- ir/be/ppc32/ppc32_gen_decls.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/ir/be/ppc32/ppc32_gen_decls.c b/ir/be/ppc32/ppc32_gen_decls.c index f53fbfee3..d42a29130 100644 --- a/ir/be/ppc32/ppc32_gen_decls.c +++ b/ir/be/ppc32/ppc32_gen_decls.c @@ -10,17 +10,7 @@ #include #include "xmalloc.h" -#include - -#ifdef obstack_chunk_alloc -# undef obstack_chunk_alloc -# define obstack_chunk_alloc xmalloc -#else -# define obstack_chunk_alloc xmalloc -# define obstack_chunk_free free -#endif - -extern int obstack_printf(struct obstack *obst, char *fmt, ...); +#include "obst.h" #include "tv.h" #include "irnode.h" @@ -342,9 +332,9 @@ static void dump_string_cst(struct obstack *obst, entity *ent) case '\t': obstack_printf(obst, "\\t"); break; default : if (isprint(c)) - obstack_printf(obst, "%c", c); + obstack_printf(obst, "%c", c); else - obstack_printf(obst, "%O", c); + obstack_printf(obst, "%O", c); break; } } -- 2.20.1