diff options
Diffstat (limited to 'src/kernel/drive.c')
-rw-r--r-- | src/kernel/drive.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/drive.c b/src/kernel/drive.c index 731088c..2ae050f 100644 --- a/src/kernel/drive.c +++ b/src/kernel/drive.c @@ -36,6 +36,11 @@ static uint32_t unknown_enumerate_dir(const struct drive *d, const char *path, s return 0; } +__attribute__ ((const)) +static uint32_t unknown_n_dir_entries(const struct drive *d, const char *path) { + return 0; +} + static inline void determine_fs(struct drive *d) { if (try_fat_init_drive(d)) return; @@ -46,6 +51,7 @@ static inline void determine_fs(struct drive *d) { d->load_sector = &unknown_load_sector; d->get_file_length = &unknown_get_file_length; d->enumerate_dir = &unknown_enumerate_dir; + d->n_dir_entries = &unknown_n_dir_entries; d->get_free_sectors = &unknown_get_free_sectors; } |