diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-17 19:18:21 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-26 18:28:34 -0700 |
commit | 79284b25994d90149f4a9a5286ec739770db94ea (patch) | |
tree | 1e6918d094ac7bf2df1041cdc901bb4fe62391e3 /libmisc/log.c | |
parent | 3756c77e536a293fc735726eac0e5f0c3a8b89da (diff) |
libmisc: Rework how test-intercepts work
Diffstat (limited to 'libmisc/log.c')
-rw-r--r-- | libmisc/log.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libmisc/log.c b/libmisc/log.c index 9bf5366..ff4dac6 100644 --- a/libmisc/log.c +++ b/libmisc/log.c @@ -7,19 +7,11 @@ #include <stdio.h> /* for vprintf() */ #include <stdarg.h> /* for va_list, va_start(), va_end() */ -#include <libmisc/assert.h> +#include <libmisc/assert.h> /* for static_assert() */ #define LOG_NAME #include <libmisc/log.h> -int _log_printf(const char *format, ...) { - va_list va; - va_start(va, format); - int ret = vprintf(format, va); - va_end(va); - return ret; -} - static const char *byte_strs[] = { "0x00", "0x01", |