aboutsummaryrefslogtreecommitdiff
path: root/FEAST/MIToolbox/util.c
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2014-03-18 15:59:19 -0400
committerCalvin Morrison <mutantturkey@gmail.com>2014-03-18 15:59:19 -0400
commit97e1498130a72f0a081b42759fa386a7460bb75d (patch)
treebe897b69304081377ce39ce019a652eb73d5a9c1 /FEAST/MIToolbox/util.c
parent49162177c5da0404d41f91f5f41006f0456babcd (diff)
remove FEAST from our source, as our changes went upstream
Diffstat (limited to 'FEAST/MIToolbox/util.c')
-rw-r--r--FEAST/MIToolbox/util.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/FEAST/MIToolbox/util.c b/FEAST/MIToolbox/util.c
deleted file mode 100644
index d9d7517..0000000
--- a/FEAST/MIToolbox/util.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <string.h>
-#include <errno.h>
-
-#include "MIToolbox.h"
-
-// a wrapper for calloc that checks if it's allocated
-void *safe_calloc(size_t nelem, size_t elsize) {
- void *allocated = UNSAFE_CALLOC_FUNC(nelem, elsize);
- if(allocated == NULL) {
- fprintf(stderr, "Error: %s\n", strerror(errno));
- exit(EXIT_FAILURE);
- }
- return allocated;
-}