From 6deb08a4ab64a998a5844df8f61fb8abe56f5d7b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 12 Jan 2021 22:33:28 -0800 Subject: Added forward declarations for static functions --- file_loader.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'file_loader.c') diff --git a/file_loader.c b/file_loader.c index a7ce56d..749e985 100644 --- a/file_loader.c +++ b/file_loader.c @@ -15,11 +15,13 @@ #include "file_loader.h" #include "utils.h" +__attribute__((nonnull)) +static void populate_lines(file_t *f); + // // In the file object, populate the `lines` array with pointers to the // beginning of each line. // -__attribute__((nonnull)) static void populate_lines(file_t *f) { // Calculate line numbers: -- cgit v1.2.3