X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fxmalloc.c;h=baac317c879274a24bcb119dbc1291412d4c7832;hb=45ecc187cee7107c83c1f9618a1e1e586df73644;hp=cd750375cfff49f44ef0bd34d28ff01870d42c09;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/adt/xmalloc.c b/ir/adt/xmalloc.c index cd750375c..baac317c8 100644 --- a/ir/adt/xmalloc.c +++ b/ir/adt/xmalloc.c @@ -51,13 +51,6 @@ void *xmalloc(size_t size) { return res; } -void *xcalloc(size_t num, size_t size) { - void *res = calloc(num, size); - - if (!res) xnomem(); - return res; -} - void *xrealloc(void *ptr, size_t size) { /* ANSI blesses realloc (0, x) but SunOS chokes on it */ void *res = ptr ? realloc (ptr, size) : malloc (size);