mirror of
https://github.com/vivier/EMILE.git
synced 2024-09-08 04:54:25 +00:00
Add const to console_print() to conform to puts()
This commit is contained in:
parent
f7999b496d
commit
ad1a7d95eb
@ -32,7 +32,7 @@ console_put(char c)
|
||||
}
|
||||
|
||||
void
|
||||
console_print(char *s)
|
||||
console_print(const char *s)
|
||||
{
|
||||
while(*s)
|
||||
console_put(*(s++));
|
||||
|
@ -13,6 +13,6 @@
|
||||
extern void console_init(emile_l2_header_t* info);
|
||||
|
||||
extern void console_put(char c);
|
||||
extern void console_print(char *s);
|
||||
extern void console_print(const char *s);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user