mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-18 06:31:23 +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…
x
Reference in New Issue
Block a user