summaryrefslogtreecommitdiff
path: root/src/program.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/program.h')
-rw-r--r--src/program.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/program.h b/src/program.h
index 23f4d74..ea29b6c 100644
--- a/src/program.h
+++ b/src/program.h
@@ -2,6 +2,7 @@
#include <stdbool.h>
#include <stdint.h>
+#include <stdio.h>
typedef enum {
MoveLeft,
@@ -28,7 +29,7 @@ typedef struct {
Symbol* data;
} Program;
-void program_init(char* file_path, Program* program);
+void program_init(FILE* file, Program* program);
void program_peek(Program* program, Symbol* symbol);
void program_next(Program* program, Symbol* symbol);
void program_last(Program* program, Symbol* symbol);