X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=util.c;h=8b36a3f21d34d49e658c847baa727fb0972f255c;hb=ad4962c7eb5f62400c762fea90d9be0e85f5c33d;hp=3175ab23d0a98a232983509fe40d64d116b2946c;hpb=cb4aa5bc35cf16a06bb2b4e880648e390fa2cc55;p=dwm.git diff --git a/util.c b/util.c index 3175ab2..8b36a3f 100644 --- a/util.c +++ b/util.c @@ -1,4 +1,4 @@ -/* (C)opyright MMVII 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;