From c7d6e9eef452be6e1b5f393c30a19b7d449f6991 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 12 Mar 2019 01:30:39 +0100 Subject: Comment out functions to be removed --- include/std/file.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/std') diff --git a/include/std/file.h b/include/std/file.h index 8be0c66..120e7bb 100644 --- a/include/std/file.h +++ b/include/std/file.h @@ -21,9 +21,15 @@ typedef enum { } MappedFileMode; /* Hidden files (files starting with a dot) are skipped */ +/* +TODO: Remove the 3 following functions as they are not used. +They should be implemented in amalgam instead. +*/ +#if 0 CHECK_RESULT int scan_dir_recursive(const char *dir_path, scan_dir_callback_func callback_func, void *userdata); CHECK_RESULT int mapped_file_init(MappedFile *self, const char *filepath, MappedFileMode file_mode); CHECK_RESULT int mapped_file_deinit(MappedFile *self); +#endif CHECK_RESULT int read_whole_file(const char *filepath, char **data, usize *size); -- cgit v1.2.3