[coreboot-gerrit] Change in ...coreboot[master]: move mrc_printk to console.h

Iru Cai (Code Review) gerrit at coreboot.org
Wed Dec 12 10:58:30 CET 2018


Iru Cai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30189


Change subject: move mrc_printk to console.h
......................................................................

move mrc_printk to console.h

Change-Id: Iaa1a3ab5178fdf86ecd69e5a9bbaf48be76d50e8
Signed-off-by: Iru Cai <mytbk920423 at gmail.com>
---
M src/console/printk.c
M src/include/console/console.h
2 files changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/30189/1

diff --git a/src/console/printk.c b/src/console/printk.c
index 4b39374..55a97c9 100644
--- a/src/console/printk.c
+++ b/src/console/printk.c
@@ -78,7 +78,6 @@
 	return i;
 }
 
-int mrc_printk(const char *fmt, ...);
 int mrc_printk(const char *fmt, ...)
 {
 	int i;
diff --git a/src/include/console/console.h b/src/include/console/console.h
index a5f7305..d26ce5d 100644
--- a/src/include/console/console.h
+++ b/src/include/console/console.h
@@ -83,6 +83,8 @@
 static inline void do_putchar(unsigned char byte) {}
 #endif
 
+int mrc_printk(const char *fmt, ...);
+
 #if IS_ENABLED(CONFIG_VBOOT)
 /* FIXME: Collision of varargs with AMD headers without guard. */
 #include <console/vtxprintf.h>

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/30189
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaa1a3ab5178fdf86ecd69e5a9bbaf48be76d50e8
Gerrit-Change-Number: 30189
Gerrit-PatchSet: 1
Gerrit-Owner: Iru Cai <mytbk920423 at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181212/f7481526/attachment.html>


More information about the coreboot-gerrit mailing list