second: make console_putchar() inline in console.c only

This commit is contained in:
John Paul Adrian Glaubitz 2017-03-15 21:23:48 +01:00
parent 6b81ba9f49
commit b6f49c0e6b
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ console_init(void)
wait_char = 0; wait_char = 0;
} }
int console_putchar(int c) extern inline int console_putchar(int c)
{ {
switch(selected_console) switch(selected_console)
{ {

View File

@ -13,7 +13,7 @@
#include "head.h" #include "head.h"
extern void console_init(void); extern void console_init(void);
extern inline int console_putchar(int c); extern int console_putchar(int c);
extern void console_putstring(const char *s); extern void console_putstring(const char *s);
int wait_char; int wait_char;
#ifdef USE_CLI #ifdef USE_CLI