]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(xalloc): Deleted function, now it's in misc.c instead.
authorNiels Möller <nisse@lysator.liu.se>
Wed, 23 Mar 2011 21:27:53 +0000 (22:27 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 23 Mar 2011 21:27:53 +0000 (22:27 +0100)
Rev: nettle/tools/sexp-conv.c:1.6

tools/sexp-conv.c

index b0d9ef808776013bba4f54f41e587bf65945e8f3..f43f27d237eaef84694412e5b3c883d617fdd8e3 100644 (file)
 
 #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;
-}
-
 \f
 /* Conversion functions. */