From d4b7a9a3735deeab639f28b5bb2f568e0dc49616 Mon Sep 17 00:00:00 2001 From: "Anselm R.Garbe" Date: Mon, 14 Aug 2006 10:18:24 +0200 Subject: implemented restack behavior (floats are on top in tiled mode) --- util.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'util.c') diff --git a/util.c b/util.c index 4cc748f..2414b39 100644 --- a/util.c +++ b/util.c @@ -40,6 +40,15 @@ eprint(const char *errstr, ...) exit(EXIT_FAILURE); } +void * +erealloc(void *ptr, unsigned int size) +{ + void *res = realloc(ptr, size); + if(!res) + bad_malloc(size); + return res; +} + void spawn(Arg *arg) { -- cgit v1.2.3-54-g00ecf