diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-22 02:09:21 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-22 02:09:21 +0330 |
commit | 51abdf014511f00f205333d033167a68d3eb7298 (patch) | |
tree | 0adba45f2a6427ebd0308068908d7863ebe253c4 /src/main.c | |
parent | 7a4c9a3e886bb03889c02e0e834ed210e7269ab5 (diff) |
some clean up
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ #include <stdio.h> #include <stdlib.h> -static int compileRun(const char *filePath, const char *outFilePath, +int compileRun(const char *filePath, const char *outFilePath, bool print) { char *code = readWholeFile(filePath); @@ -93,7 +93,7 @@ int runWithoutRead(char *code, bool shouldPrint) { return ret; } -static int run(const char *filePath, bool shouldPrint) { +int run(const char *filePath, bool shouldPrint) { char *code = readWholeFile(filePath); if (code == NULL) { |