From 9400716f56057d9f2fcd7f7ad033dfcb131105a2 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Wed, 25 Jul 2018 17:18:18 +1000 Subject: Added missing prototype for puts() in stdio.h. Implemented a basic serial interface using COM0 which can be accessed with the system call sys_puts as well as the library functions rsputs() and rsprintf(). Renamed puts() in con.c to con_puts() and made the function static to avoid interference with the library function puts(). --- kernel/kmain.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'kernel/kmain.c') diff --git a/kernel/kmain.c b/kernel/kmain.c index 7c8a72d..e9430ba 100644 --- a/kernel/kmain.c +++ b/kernel/kmain.c @@ -4,9 +4,6 @@ #include void kmain(void) { - int i; - int ret; - printk("Kernel booted!\n\n"); sched_init(); -- cgit v1.3