aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/compat/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/unbound/compat/malloc.c')
m---------external/unbound0
-rw-r--r--external/unbound/compat/malloc.c19
2 files changed, 0 insertions, 19 deletions
diff --git a/external/unbound b/external/unbound
new file mode 160000
+Subproject 193bdc4ee3fe2b0d17e547e86512528c2614483
diff --git a/external/unbound/compat/malloc.c b/external/unbound/compat/malloc.c
deleted file mode 100644
index 559aa100d..000000000
--- a/external/unbound/compat/malloc.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Just a replacement, if the original malloc is not
- GNU-compliant. See autoconf documentation. */
-
-#include "config.h"
-#undef malloc
-#include <sys/types.h>
-
-void *malloc ();
-
-/* Allocate an N-byte block of memory from the heap.
- If N is zero, allocate a 1-byte block. */
-
-void *
-rpl_malloc_unbound (size_t n)
-{
- if (n == 0)
- n = 1;
- return malloc (n);
-}