X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/6651dd7fd9e8e95cfc6c472f1adfeff41735d798..fcd98308ba65c8872b485ac7f1800841b0a29e5c:/util.c 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;