X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/cb4aa5bc35cf16a06bb2b4e880648e390fa2cc55..7e98db251e383674440d75dc42d98ab6eed79ac7:/util.c?ds=sidebyside

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 <garbeam at gmail dot com>
+/* (C)opyright MMVI-MMVII Anselm R. Garbe <garbeam at gmail dot com>
  * 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;