From b3902ca1782515ee8b9cd38af10e51bc3ba2fc98 Mon Sep 17 00:00:00 2001 From: Matthias-Christian Ott Date: Fri, 4 Jul 2008 18:18:51 +0200 Subject: remove emallocz() --- util.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 util.c (limited to 'util.c') diff --git a/util.c b/util.c deleted file mode 100644 index 2e33fbd..0000000 --- a/util.c +++ /dev/null @@ -1,16 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#include "util.h" -#include -#include -#include -#include -#include - -void * -emallocz(unsigned int size) { - void *res = calloc(1, size); - - if(!res) - err(EXIT_FAILURE, "could not malloc() %u bytes\n", size); - return res; -} -- cgit v1.2.3-13-gbd6f