get_volume_name generate volume names once then reuse

Change-Id: I36c62bfb28af9770b551a1193fbb66eb6fbac76a
This commit is contained in:
William Wilgus 2024-07-23 17:30:19 -04:00 committed by William Wilgus
parent 254eaf509e
commit c0ac043c6d
3 changed files with 31 additions and 9 deletions

View file

@ -82,6 +82,7 @@ int path_strip_volume(const char *name, const char **nameptr, bool greedy);
int path_strip_last_volume(const char *name, const char **nameptr, bool greedy);
int get_volume_name(int volume, char *name);
int make_volume_root(int volume, char *dst);
void init_volume_names(void);
#endif
int path_strip_drive(const char *name, const char **nameptr, bool greedy);