From e8d6066f85b60e34237f296601d707e26cbed93b Mon Sep 17 00:00:00 2001 From: Josef Edwards Date: Mon, 11 Nov 2024 21:01:12 -0500 Subject: [PATCH] Update tokenizer.c Signed-off-by: Josef Edwards --- tokenizer.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/tokenizer.c b/tokenizer.c index 322ff35..a1d690d 100644 --- a/tokenizer.c +++ b/tokenizer.c @@ -1,10 +1,3 @@ -#ifndef TOKENIZER_H -#define TOKENIZER_H - -void tokenize(char *input); - -#endif // TOKENIZER_H - #include #include #include @@ -19,6 +12,17 @@ void tokenize(char *input) { token = strtok(NULL, " \t\n"); } } + +#ifndef TOKENIZER_H +#define TOKENIZER_H + +void tokenize(char *input); + +#endif // TOKENIZER_H +``` + +#### main.c +```c #include #include #include