aboutsummaryrefslogtreecommitdiff
path: root/file_loader.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-14 19:21:31 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-14 19:21:31 -0800
commit3cd61e3abc79a80d38afa9c633c59585aeb0311a (patch)
treeebc97bfb416d0e9a0a486f754221b21a5a05fbc2 /file_loader.h
parent9238ffea8819461687e24ea45e466403faa68681 (diff)
Overhaul of memory tracking and left recursion. Added explanation doc
for left recursion and fixed all visible memory leaks.
Diffstat (limited to 'file_loader.h')
-rw-r--r--file_loader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_loader.h b/file_loader.h
index 85bb920..91480b2 100644
--- a/file_loader.h
+++ b/file_loader.h
@@ -19,7 +19,7 @@ typedef struct file_s {
file_t *load_file(file_t **files, const char *filename);
__attribute__((nonnull(3), returns_nonnull))
-file_t *spoof_file(file_t **files, const char *filename, char *text);
+file_t *spoof_file(file_t **files, const char *filename, const char *text);
__attribute__((nonnull))
void intern_file(file_t *f);
__attribute__((nonnull))