summaryrefslogtreecommitdiff
path: root/filesystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'filesystem.h')
-rw-r--r--filesystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystem.h b/filesystem.h
index 0c18494..03ae04a 100644
--- a/filesystem.h
+++ b/filesystem.h
@@ -40,8 +40,8 @@ int fs_mkdir(char const *path);
// 0 if buf is too short to hold the cwd
// -1 if we can't get the cwd for whatever reason.
int fs_get_cwd(char *buf, size_t buflen);
-
-void fs_dir_entries_free(FsDirectoryEntry **entries) {
+// free the entries generated by fs_list_directory.s
+static void fs_dir_entries_free(FsDirectoryEntry **entries) {
for (int i = 0; entries[i]; ++i)
free(entries[i]);
free(entries);