summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/src/calloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/calloc.c b/cpukit/libcsupport/src/calloc.c
index 915ece3e17..20db533786 100644
--- a/cpukit/libcsupport/src/calloc.c
+++ b/cpukit/libcsupport/src/calloc.c
@@ -21,6 +21,7 @@
#if defined(RTEMS_NEWLIB) && !defined(HAVE_CALLOC)
#include <stdlib.h>
#include <string.h>
+#include <rtems/score/basedefs.h>
void *calloc(
size_t nelem,
@@ -32,6 +33,7 @@ void *calloc(
length = nelem * elsize;
cptr = malloc( length );
+ RTEMS_OBFUSCATE_VARIABLE( cptr );
if ( cptr )
memset( cptr, '\0', length );