diff options
Diffstat (limited to 'demo/util.c')
| -rw-r--r-- | demo/util.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demo/util.c b/demo/util.c index d08ec20..d728fac 100644 --- a/demo/util.c +++ b/demo/util.c @@ -7,11 +7,6 @@ static void bad_input(void) print("bad input"); } -static void unexpected_eof(void) -{ - print("unexpected end-of-input"); -} - static int parse_cpu_token(const char *token, unsigned *cpu) { if (token[0] != 'c' || token[1] != 'p' || token[2] != 'u' @@ -24,6 +19,11 @@ static int parse_cpu_token(const char *token, unsigned *cpu) return 0; } +void unexpected_eof(void) +{ + print("unexpected end-of-input"); +} + int strcmp(const char *s1, const char *s2) { while (*s1 && *s1 == *s2) |
