From 7cc14ac25d9d40a7c2fc078c248faafbac887a5d Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 27 Mar 2021 20:03:02 +0100 Subject: Rename do_printk() to printk() The indirection seems unnecessary. The macros throw features like `-Wmisleading-indentation` off, though. Default build for QEMU/Q35 is unchanged. Change-Id: Ie4eab935a367b5ad6b38225c4973d41d9f70ef10 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/51887 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- util/uio_usbdebug/console/printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/uio_usbdebug/console') diff --git a/util/uio_usbdebug/console/printk.c b/util/uio_usbdebug/console/printk.c index 3ad9b9ebaf..e0aa20169e 100644 --- a/util/uio_usbdebug/console/printk.c +++ b/util/uio_usbdebug/console/printk.c @@ -4,7 +4,7 @@ #include #include -int do_printk(int msg_level, const char *const fmt, ...) +int printk(int msg_level, const char *const fmt, ...) { va_list args; int i; -- cgit v1.2.3