X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=util.c;h=8b36a3f21d34d49e658c847baa727fb0972f255c;hb=9715ba82aa4d256a43b3a166c88f3409b873eb32;hp=abd82defb07cddee6a50117452a15ee94ce19a8f;hpb=6651dd7fd9e8e95cfc6c472f1adfeff41735d798;p=dwm.git diff --git a/util.c b/util.c index abd82de..8b36a3f 100644 --- a/util.c +++ b/util.c @@ -1,4 +1,4 @@ -/* (C)opyright MMVI Anselm R. Garbe +/* (C)opyright MMVI-MMVII Anselm R. Garbe * See LICENSE file for license details. */ #include "dwm.h" @@ -29,15 +29,6 @@ eprint(const char *errstr, ...) { exit(EXIT_FAILURE); } -void * -erealloc(void *ptr, unsigned int size) { - void *res = realloc(ptr, size); - - if(!res) - eprint("fatal: could not malloc() %u bytes\n", size); - return res; -} - void spawn(Arg *arg) { static char *shell = NULL;