diff options
author | c+1 | 2023-11-17 18:58:54 -0500 |
---|---|---|
committer | c+1 | 2023-11-17 18:58:54 -0500 |
commit | 2cc68205a1c0b746ad405607940e7183c4fb09b0 (patch) | |
tree | dd16a65479194da364929c71a22d6fb01b58f36a /src/include/util.h | |
parent | 7be0923d486cd6ed2e304d3673146563ad677ea7 (diff) |
Cleaned up.
Diffstat (limited to 'src/include/util.h')
-rw-r--r-- | src/include/util.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/util.h b/src/include/util.h index 854d18d..cf59a44 100644 --- a/src/include/util.h +++ b/src/include/util.h @@ -6,24 +6,24 @@ #include <string.h> #include <stdio.h> -/* log some debug information */ +/* Log some debug information. */ void log_dbg(const char*, ...); -/* log some information */ +/* Log some information. */ void log_inf(const char*, ...); -/* log something with no formatting */ +/* Log something with no formatting. */ void log_raw(const char*, ...); -/* log a warning */ +/* Log a warning. */ void log_war(const char*, ...); -/* log an error */ +/* Log an error. */ void log_err(const char*, ...); -/* die and leave message */ +/* Die and leave message. */ void die(const char*, ...); -/* if calloc() returns null, die */ +/* If `calloc()` returns null, die. */ void* ecalloc(size_t, size_t); -/* if malloc() returns null, die */ +/* If `malloc()` returns null, die. */ void* emalloc(size_t); -/* if realloc() returns null, die */ +/* If `realloc()` returns null, die. */ void* erealloc(void*, size_t); #endif |