summaryrefslogtreecommitdiff
path: root/source3/lib/util_malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util_malloc.c')
-rw-r--r--source3/lib/util_malloc.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/util_malloc.c b/source3/lib/util_malloc.c
index faff9b03db..ff78db6500 100644
--- a/source3/lib/util_malloc.c
+++ b/source3/lib/util_malloc.c
@@ -40,20 +40,6 @@ void *malloc_(size_t size)
}
/****************************************************************************
- Internal calloc wrapper. Not externally visible.
-****************************************************************************/
-
-static void *calloc_(size_t count, size_t size)
-{
- if (size == 0 || count == 0) {
- return NULL;
- }
-#undef calloc
- return calloc(count, size);
-#define calloc(n,s) __ERROR_DONT_USE_CALLOC_DIRECTLY
-}
-
-/****************************************************************************
Internal realloc wrapper. Not externally visible.
****************************************************************************/