From: Niels Möller Date: Wed, 23 Mar 2011 21:27:53 +0000 (+0100) Subject: (xalloc): Deleted function, now it's in misc.c instead. X-Git-Tag: nettle_2.2_release_20110711~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7ec738885c8a1c9b9076f1c8acdb5cc9a485586;p=thirdparty%2Fnettle.git (xalloc): Deleted function, now it's in misc.c instead. Rev: nettle/tools/sexp-conv.c:1.6 --- diff --git a/tools/sexp-conv.c b/tools/sexp-conv.c index b0d9ef80..f43f27d2 100644 --- a/tools/sexp-conv.c +++ b/tools/sexp-conv.c @@ -54,19 +54,6 @@ #define BUG_ADDRESS "nettle-bugs@lists.lysator.liu.se" -static void * -xalloc(size_t size) -{ - void *p = malloc(size); - if (!p) - { - fprintf(stderr, "Virtual memory exhausted.\n"); - abort(); - } - - return p; -} - /* Conversion functions. */