diff util.c @ 698:e1c8bef05e6e 3.1

removed erealloc (not used)
author Anselm R. Garbe <arg@suckless.org>
date Tue, 16 Jan 2007 11:35:56 +0100
parents 1ed8c40dde36
children
line wrap: on
line diff
--- a/util.c	Tue Jan 16 11:33:42 2007 +0100
+++ b/util.c	Tue Jan 16 11:35:56 2007 +0100
@@ -29,15 +29,6 @@
 	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;