mirror of
git://git.suckless.org/dwm
synced 2025-07-27 02:02:08 -07:00
removed erealloc (not used)
This commit is contained in:
9
util.c
9
util.c
@@ -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;
|
||||
|
Reference in New Issue
Block a user