mirror of https://github.com/vivier/EMILE.git
second: make console_putchar() inline in console.c only
This commit is contained in:
parent
6b81ba9f49
commit
b6f49c0e6b
|
@ -33,7 +33,7 @@ console_init(void)
|
|||
wait_char = 0;
|
||||
}
|
||||
|
||||
int console_putchar(int c)
|
||||
extern inline int console_putchar(int c)
|
||||
{
|
||||
switch(selected_console)
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "head.h"
|
||||
|
||||
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);
|
||||
int wait_char;
|
||||
#ifdef USE_CLI
|
||||
|
|
Loading…
Reference in New Issue