diff options
author | Danny Holman <dholman@gymli.xyz> | 2021-01-20 22:40:40 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.xyz> | 2021-01-20 22:40:40 -0600 |
commit | 3898c79cb27f21bc552a341d3d8c26af52263257 (patch) | |
tree | 08e5371a2aa28772afd1bc1b88e54eb284badfa5 /include | |
parent | 7a6cf86e4dd3094ed5aa41bf76d93c28c89e85e7 (diff) |
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 <dholman@gymli.xyz>
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel/serial.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |