summaryrefslogtreecommitdiff
path: root/tests/stubs/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stubs/console.c')
-rw-r--r--tests/stubs/console.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/stubs/console.c b/tests/stubs/console.c
index b6a75831b5..0f1dc24725 100644
--- a/tests/stubs/console.c
+++ b/tests/stubs/console.c
@@ -1,6 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <console/console.h>
+#include <stdarg.h>
+#include <stdio.h>
int do_printk(int msg_level, const char *fmt, ...)
{
@@ -11,3 +13,8 @@ int do_vprintk(int msg_level, const char *fmt, va_list args)
{
return 0;
}
+
+int console_log_level(int msg_level)
+{
+ return 0;
+}