X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/cb4aa5bc35cf16a06bb2b4e880648e390fa2cc55..6e22ccf7b1602b33624692eefd51b6398ffa5454:/util.c?ds=inline 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;