mirror of
https://github.com/vivier/EMILE.git
synced 2024-05-31 17:41:33 +00:00
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;
|
wait_char = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int console_putchar(int c)
|
extern inline int console_putchar(int c)
|
||||||
{
|
{
|
||||||
switch(selected_console)
|
switch(selected_console)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user