commit 96e040538ee37ebcd1b0ade913280838385634b8
Author:     Hiltjo Posthuma <[email protected]>
AuthorDate: Thu Sep 26 22:57:15 2019 +0200
Commit:     Hiltjo Posthuma <[email protected]>
CommitDate: Thu Sep 26 22:57:15 2019 +0200

    util.h: add ecalloc from util.c and fix die() argument declaration

diff --git a/util.h b/util.h
index f7ce721..f633b51 100644
--- a/util.h
+++ b/util.h
@@ -4,4 +4,5 @@
 #define MIN(A, B)               ((A) < (B) ? (A) : (B))
 #define BETWEEN(X, A, B)        ((A) <= (X) && (X) <= (B))
 
-void die(const char *errstr, ...);
+void die(const char *fmt, ...);
+void *ecalloc(size_t nmemb, size_t size);

Reply via email to