diff options
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -17,6 +17,13 @@ void prints(char string[]) putchar(string[i]); } +void error(char string[]) +{ + prints("ERROR! "); + puts(string); + while (1); +} + void printdec(uint32_t number) { char buf[11]; |