From 97e1498130a72f0a081b42759fa386a7460bb75d Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 18 Mar 2014 15:59:19 -0400 Subject: remove FEAST from our source, as our changes went upstream --- FEAST/MIToolbox/util.c | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 FEAST/MIToolbox/util.c (limited to 'FEAST/MIToolbox/util.c') 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 -#include - -#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; -} -- cgit v1.2.3