summaryrefslogtreecommitdiff
path: root/src/platform/file.c
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-03-05 22:18:45 +1100
committerOmniscient <omniscient.oce@gmail.com>2024-03-05 22:18:45 +1100
commitd5ae547334b5f8229313182705da42c5e904a633 (patch)
tree3656a402a2dfacd44c82f697061c387a622bcd0f /src/platform/file.c
parentd92d5231ae094ae79d95463d54275a3527cf1c2d (diff)
loads and runs now (no visuals yet)
Diffstat (limited to 'src/platform/file.c')
-rw-r--r--src/platform/file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/platform/file.c b/src/platform/file.c
index 4eeee46..ec9259a 100644
--- a/src/platform/file.c
+++ b/src/platform/file.c
@@ -12,7 +12,6 @@
const char *string_from_file(const char *path) {
FILE *f = fopen(path, "rb");
- printf("Hello\n");
if (f == NULL) {
ERROR("Error reading file: %s. errno: %d", path, errno);
return NULL;
@@ -21,7 +20,6 @@ const char *string_from_file(const char *path) {
ERROR("Error reading file: %s. errno: %d", path, errno);
return NULL;
}
- printf("Hello2\n");
fseek(f, 0, SEEK_END);
long fsize = ftell(f);
rewind(f);
@@ -31,8 +29,6 @@ const char *string_from_file(const char *path) {
fclose(f);
string[fsize] = '\0';
- printf("Hello3\n");
- printf("Hello %s\n", string);
return string;
}