Skip to content

Commit

Permalink
Update tokenizer.c
Browse files Browse the repository at this point in the history
Signed-off-by: Josef Edwards <joed6834@colorado.edu>
  • Loading branch information
bearycool11 authored Nov 12, 2024
1 parent 5c98e59 commit e8d6066
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions tokenizer.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
#ifndef TOKENIZER_H
#define TOKENIZER_H

void tokenize(char *input);

#endif // TOKENIZER_H

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Expand All @@ -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 <stdio.h>
#include <string.h>
#include <stdlib.h>
Expand Down

0 comments on commit e8d6066

Please sign in to comment.