diff options
author | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-11-29 15:50:24 +0100 |
---|---|---|
committer | Lizzy Fleckenstein <eliasfleckenstein@web.de> | 2023-11-29 15:50:24 +0100 |
commit | fa439f4c94f20e7e4580a0436475efa4f2d24383 (patch) | |
tree | f5df900e87f90b4f9030331f0061d7e6943bcf6f | |
parent | d28a735edcc617d623d4e40401b9c832adefe7d7 (diff) | |
download | cuddles-fa439f4c94f20e7e4580a0436475efa4f2d24383.tar.xz |
make print take const char
-rw-r--r-- | stage3/font.c | 3 | ||||
-rw-r--r-- | stage3/font.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/stage3/font.c b/stage3/font.c index 5af691e..e982aec 100644 --- a/stage3/font.c +++ b/stage3/font.c @@ -95,9 +95,8 @@ void print_char(char c) fix_cursor(); } -void print(char *line) +void print(const char *line) { while (*line != '\0') print_char(*line++); } - diff --git a/stage3/font.h b/stage3/font.h index 2f43e9e..8ad2874 100644 --- a/stage3/font.h +++ b/stage3/font.h @@ -3,7 +3,7 @@ #include "def.h" -void print(char *line); +void print(const char *line); void set_font_size(u16 size); void print_char(char c); |