Add const to console_print() to conform to puts()

This commit is contained in:
Laurent Vivier 2005-05-22 21:15:23 +00:00
parent f7999b496d
commit ad1a7d95eb
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ console_put(char c)
}
void
console_print(char *s)
console_print(const char *s)
{
while(*s)
console_put(*(s++));

View File

@ -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