From b7ec738885c8a1c9b9076f1c8acdb5cc9a485586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Wed, 23 Mar 2011 22:27:53 +0100 Subject: [PATCH] (xalloc): Deleted function, now it's in misc.c instead. Rev: nettle/tools/sexp-conv.c:1.6 --- tools/sexp-conv.c | 13 ------------- 1 file changed, 13 deletions(-) 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. */ -- GitLab