From 07274513e984f0b5544586c74508ccd16e7dcafa Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 13 Jan 2013 17:29:19 +1000 Subject: Remove EFL, since it's been released now. --- libraries/edje/src/bin/edje_cc_mem.c | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 libraries/edje/src/bin/edje_cc_mem.c (limited to 'libraries/edje/src/bin/edje_cc_mem.c') diff --git a/libraries/edje/src/bin/edje_cc_mem.c b/libraries/edje/src/bin/edje_cc_mem.c deleted file mode 100644 index d2d4ae0..0000000 --- a/libraries/edje/src/bin/edje_cc_mem.c +++ /dev/null @@ -1,34 +0,0 @@ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - -#include "edje_cc.h" - -void * -mem_alloc(size_t size) -{ - void *mem; - - mem = calloc(1, size); - if (mem) return mem; - ERR("%s: Error. %s:%i memory allocation of %zu bytes failed. %s", - progname, file_in, line, size, strerror(errno)); - exit(-1); - return NULL; -} - -char * -mem_strdup(const char *s) -{ - void *str; - - str = strdup(s); - if (str) return str; - ERR("%s: Error. %s:%i memory allocation of %zu bytes failed. %s. string being duplicated: \"%s\"", - progname, file_in, line, strlen(s) + 1, strerror(errno), s); - exit(-1); - return NULL; -} -- cgit v1.1