summaryrefslogtreecommitdiff
path: root/toc.c
diff options
context:
space:
mode:
Diffstat (limited to 'toc.c')
-rw-r--r--toc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toc.c b/toc.c
index bd94586..d60be8b 100644
--- a/toc.c
+++ b/toc.c
@@ -84,7 +84,7 @@ static size_t compiler_sizeof(Type *t);
#include "copy.c"
/* returns NULL on error */
-static char *read_entire_file(Allocator *a, const char *filename, Location where) {
+static char *read_file_contents(Allocator *a, const char *filename, Location where) {
FILE *in = fopen(filename, "r");
if (!in) {