X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbestabs.c;h=9073c15fae1cb0af3dabce76b511939af0cd38a2;hb=04906225f6fe1bc22f73b5d6a98eb9c0992a9b54;hp=9a0a6ebbf613d82b20261be2389d465c1e5787eb;hpb=43f61f31f03a0b2f37e2082dddfc7d3c845375d1;p=libfirm diff --git a/ir/be/bestabs.c b/ir/be/bestabs.c index 9a0a6ebbf..9073c15fa 100644 --- a/ir/be/bestabs.c +++ b/ir/be/bestabs.c @@ -24,9 +24,7 @@ * @date 11.9.2006 * @version $Id$ */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include #include @@ -41,7 +39,7 @@ #include "pdeq.h" #include "irtools.h" #include "obst.h" -#include "array.h" +#include "array_t.h" #include "be_dbgout_t.h" #include "beabi.h" #include "bemodule.h" @@ -818,7 +816,7 @@ static const debug_ops stabs_ops = { /* Opens a stabs handler */ dbg_handle *be_stabs_open(void) { - stabs_handle *h = xmalloc(sizeof(*h)); + stabs_handle *h = XMALLOC(stabs_handle); h->base.ops = &stabs_ops; h->cur_ent = NULL;