diff options
author | Anselm R.Garbe | 2006-08-14 10:18:24 +0200 |
---|---|---|
committer | Anselm R.Garbe | 2006-08-14 10:18:24 +0200 |
commit | 18ee65cee4fcc3e64209f9b32409161fcd5cbe87 (patch) | |
tree | eb097bedc276c5ea8a1b0bd1378c3ef90783a35d /util.c | |
parent | 25e3849b6bcffe1fdd0eb6a59c1894a75a5fb166 (diff) | |
download | aur-18ee65cee4fcc3e64209f9b32409161fcd5cbe87.tar.gz |
implemented restack behavior (floats are on top in tiled mode)
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) { |