include "obst.h" instead of hand generated code
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 2 Apr 2006 11:10:24 +0000 (11:10 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 2 Apr 2006 11:10:24 +0000 (11:10 +0000)
ir/be/ia32/ia32_gen_decls.c

index 911a959..f6ef7d6 100644 (file)
 #include <ctype.h>
 #include <assert.h>
 
-#include "xmalloc.h"
-#include <obstack.h>
-
-#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"
 #include "entity.h"