summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2011-03-23 22:27:53 +0100
committerNiels Möller <nisse@lysator.liu.se>2011-03-23 22:27:53 +0100
commitb7ec738885c8a1c9b9076f1c8acdb5cc9a485586 (patch)
tree20364be46cead0f7afa1dad0a6ff730368ea1d83 /tools
parent9579451e417192ec95deb0e5aab9a34285e93860 (diff)
downloadnettle-b7ec738885c8a1c9b9076f1c8acdb5cc9a485586.tar.gz
(xalloc): Deleted function, now it's in misc.c instead.
Rev: nettle/tools/sexp-conv.c:1.6
Diffstat (limited to 'tools')
-rw-r--r--tools/sexp-conv.c13
1 files changed, 0 insertions, 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. */