diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-26 20:09:17 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-26 20:09:17 -0700 |
commit | e7e0cff1960fca598e0ba01be2bb56b65cbb9e2b (patch) | |
tree | 1e2c607ae9980b47917effe4203b4448a1dd4c5f /libmisc/log.c | |
parent | d0e9e9c4a178fe396f3ba255bc440a15b107a097 (diff) | |
parent | 1aecc70750ee6ce9c96ebf3e6b4a7fb322ff8ca3 (diff) |
Merge branch 'lukeshu/check-build'
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", |