aewl
diff util.c @ 698:e1c8bef05e6e
removed erealloc (not used)
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Tue, 16 Jan 2007 11:35:56 +0100 |
parents | 1ed8c40dde36 |
children | 743061dbe7f2 |
line diff
1.1 --- a/util.c Tue Jan 16 11:33:42 2007 +0100 1.2 +++ b/util.c Tue Jan 16 11:35:56 2007 +0100 1.3 @@ -29,15 +29,6 @@ 1.4 exit(EXIT_FAILURE); 1.5 } 1.6 1.7 -void * 1.8 -erealloc(void *ptr, unsigned int size) { 1.9 - void *res = realloc(ptr, size); 1.10 - 1.11 - if(!res) 1.12 - eprint("fatal: could not malloc() %u bytes\n", size); 1.13 - return res; 1.14 -} 1.15 - 1.16 void 1.17 spawn(Arg *arg) { 1.18 static char *shell = NULL;