summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-07 16:20:24 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-09 03:20:32 -0600
commit2774e918b6ced670f80036532052189d568e5c5c (patch)
tree8e5eeb538cc0d0a80ccc38cc59ac2d3b5073bb6f
parent046c336f5650510ea453f63346b84f01bec8cb8d (diff)
libmisc: log.c: Clean up #includesHEADmain
-rw-r--r--libmisc/log.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libmisc/log.c b/libmisc/log.c
index ff4dac6..be87de6 100644
--- a/libmisc/log.c
+++ b/libmisc/log.c
@@ -1,17 +1,13 @@
/* libmisc/log.c - stdio logging
*
- * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+ * Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
-#include <stdio.h> /* for vprintf() */
-#include <stdarg.h> /* for va_list, va_start(), va_end() */
+#include <stdint.h> /* for uint{n}_t */
#include <libmisc/assert.h> /* for static_assert() */
-#define LOG_NAME
-#include <libmisc/log.h>
-
static const char *byte_strs[] = {
"0x00",
"0x01",