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(). --- include/stdio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/stdio.h') diff --git a/include/stdio.h b/include/stdio.h index d37699a..94cf227 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -3,7 +3,11 @@ #include +int puts(char*); +int rsputs(char*); + int printf(char*, ...); +int rsprintf(char*, ...); int vsprintf(char*, char*, va_list); -- cgit v1.3