From 3898c79cb27f21bc552a341d3d8c26af52263257 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Wed, 20 Jan 2021 22:40:40 -0600 Subject: serial: don't declare serial_init as static The function serial_init should not be declared as static. This function could change under a different architecture and should be defined with the target architecture. Signed-off-by: Danny Holman --- include/kernel/serial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/kernel') diff --git a/include/kernel/serial.h b/include/kernel/serial.h index a3a54b0..79d856b 100644 --- a/include/kernel/serial.h +++ b/include/kernel/serial.h @@ -1,7 +1,7 @@ #ifndef SERIAL_H #define SERIAL_H -static int serial_init(void); +int serial_init(void); char read_serial(void); void write_serial(char a); -- cgit v1.2.3