From 5077207088b08e6b21601cb19925d20e9d5af573 Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Fri, 4 Aug 2006 10:23:36 +0200 Subject: rearranged several stuff --- util.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'util.c') diff --git a/util.c b/util.c index dff7af7..1b9bc57 100644 --- a/util.c +++ b/util.c @@ -29,16 +29,6 @@ emalloc(unsigned int size) return res; } -void * -emallocz(unsigned int size) -{ - void *res = calloc(1, size); - - if(!res) - bad_malloc(size); - return res; -} - void eprint(const char *errstr, ...) { @@ -58,11 +48,3 @@ estrdup(const char *str) bad_malloc(strlen(str)); return res; } - -void -swap(void **p1, void **p2) -{ - void *tmp = *p1; - *p1 = *p2; - *p2 = tmp; -} -- cgit v1.2.3-13-gbd6f