summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/calloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/calloc.c')
-rw-r--r--cpukit/libcsupport/src/calloc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/cpukit/libcsupport/src/calloc.c b/cpukit/libcsupport/src/calloc.c
index 095b467025..915ece3e17 100644
--- a/cpukit/libcsupport/src/calloc.c
+++ b/cpukit/libcsupport/src/calloc.c
@@ -19,7 +19,6 @@
#endif
#if defined(RTEMS_NEWLIB) && !defined(HAVE_CALLOC)
-#include "malloc_p.h"
#include <stdlib.h>
#include <string.h>
@@ -31,15 +30,11 @@ void *calloc(
char *cptr;
size_t length;
- MSBUMP(calloc_calls, 1);
-
length = nelem * elsize;
cptr = malloc( length );
if ( cptr )
memset( cptr, '\0', length );
- MSBUMP(malloc_calls, (uint32_t) -1); /* subtract off the malloc */
-
return cptr;
}
#endif