summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-10-20 22:51:57 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-10-20 22:51:57 +0200
commit5a20b409c673a6736c3f9326cb54edc32908f717 (patch)
tree9b30985369ab49bd7588127411d9cf2209f19efb /util.h
parent164986763a29db97abb52b15cbd282b5636d83c0 (diff)
add sbase-style ecalloc(), calloc: or die
... remove intermediary variables
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index f7ce721..cded043 100644
--- a/util.h
+++ b/util.h
@@ -5,3 +5,4 @@
#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
void die(const char *errstr, ...);
+void *ecalloc(size_t, size_t);