aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/util/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/util.h b/src/util/util.h
index 6ef3c86..2c2f773 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -35,7 +35,7 @@
35 * Usage: 35 * Usage:
36 * die("Error occurred in function %s", __func__); 36 * die("Error occurred in function %s", __func__);
37 */ 37 */
38void die(const char *fmt, ...); 38void die(const char *format_string, ...);
39 39
40/* 40/*
41 * ecalloc() 41 * ecalloc()
@@ -56,4 +56,4 @@ void die(const char *fmt, ...);
56 * int *arr = ecalloc(10, sizeof(int)); // Allocate memory for an array of 10 56 * int *arr = ecalloc(10, sizeof(int)); // Allocate memory for an array of 10
57 * integers. 57 * integers.
58 */ 58 */
59void *ecalloc(size_t nmemb, size_t size); 59void *ecalloc(size_t num_elements, size_t element_size);