aboutsummaryrefslogtreecommitdiff
path: root/file_loader.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-12 22:33:28 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-12 22:33:28 -0800
commit6deb08a4ab64a998a5844df8f61fb8abe56f5d7b (patch)
treea868d425cacc7f5b4c5775aa26a76fe26c2e3696 /file_loader.c
parent2d109f974b6a03a79db3dd8a5ffe5c2aff76659e (diff)
Added forward declarations for static functions
Diffstat (limited to 'file_loader.c')
-rw-r--r--file_loader.c4
1 files changed, 3 insertions, 1 deletions
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: