From a3971fd612813c6544dbe63cb3d7e5d9c0b7b778 Mon Sep 17 00:00:00 2001 From: pommicket Date: Sun, 1 Jan 2023 22:56:36 -0500 Subject: move functions from io.c to session.c --- filesystem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filesystem.h') 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); -- cgit v1.2.3