diff options
author | James Buren <braewoods+rb@braewoods.net> | 2021-07-03 00:19:58 +0000 |
---|---|---|
committer | James Buren <braewoods+rb@braewoods.net> | 2021-07-03 00:19:58 +0000 |
commit | c9f2308a1d4401ceefaac47b1ea851530d07e47d (patch) | |
tree | 81f75a26707bd8583f5117a7a0febba894787996 /firmware/export/fat.h | |
parent | d1a92aafff55defefcb8cf8f4b045701325088b2 (diff) | |
download | rockbox-c9f2308a1d4401ceefaac47b1ea851530d07e47d.tar.gz rockbox-c9f2308a1d4401ceefaac47b1ea851530d07e47d.zip |
fat: move fattime_mktime to timefuncs
This moves the time conversion function to timefuncs since it has
uses on ports that don't use the FAT driver. This function has no
dependency on the FAT driver as it is so this should not cause any
issues. To reflect this separation the function was renamed to
dostime_mktime since it is really for DOS timestamps. The places
where it was used have also been updated.
Change-Id: Id98b1448d5c6fcda286846e1d2c736db682bfb52
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r-- | firmware/export/fat.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h index b8092290e6..27c2a161f6 100644 --- a/firmware/export/fat.h +++ b/firmware/export/fat.h | |||
@@ -174,7 +174,6 @@ void fat_recalc_free(IF_MV_NONVOID(int volume)); | |||
174 | bool fat_size(IF_MV(int volume,) unsigned long *size, unsigned long *free); | 174 | bool fat_size(IF_MV(int volume,) unsigned long *size, unsigned long *free); |
175 | 175 | ||
176 | /** Misc. **/ | 176 | /** Misc. **/ |
177 | time_t fattime_mktime(uint16_t fatdate, uint16_t fattime); | ||
178 | void fat_empty_fat_direntry(struct fat_direntry *entry); | 177 | void fat_empty_fat_direntry(struct fat_direntry *entry); |
179 | void fat_init(void); | 178 | void fat_init(void); |
180 | 179 | ||