diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-03-29 16:09:56 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2024-03-30 11:01:53 -0400 |
commit | fe00906abb355a40888e7a2ce785ddfe3cfc525f (patch) | |
tree | 78ebfcc04d1a540636d3574eb3f27925fa88a4bd /firmware/export/pathfuncs.h | |
parent | 777098fca9765900202d8d9c1698c57f136c7338 (diff) | |
download | rockbox-fe00906abb355a40888e7a2ce785ddfe3cfc525f.tar.gz rockbox-fe00906abb355a40888e7a2ce785ddfe3cfc525f.zip |
pathfuncs.c add path_strip_leading_separators()
added to path_append as well
Change-Id: Ieb6ec4f4c475ca5e60c8246c7f044bcc7651f6bf
Diffstat (limited to 'firmware/export/pathfuncs.h')
-rw-r--r-- | firmware/export/pathfuncs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/pathfuncs.h b/firmware/export/pathfuncs.h index 1b18f22d06..03495e5ab2 100644 --- a/firmware/export/pathfuncs.h +++ b/firmware/export/pathfuncs.h | |||
@@ -87,6 +87,7 @@ int make_volume_root(int volume, char *dst); | |||
87 | int path_strip_drive(const char *name, const char **nameptr, bool greedy); | 87 | int path_strip_drive(const char *name, const char **nameptr, bool greedy); |
88 | size_t path_basename(const char *name, const char **nameptr); | 88 | size_t path_basename(const char *name, const char **nameptr); |
89 | size_t path_dirname(const char *name, const char **nameptr); | 89 | size_t path_dirname(const char *name, const char **nameptr); |
90 | size_t path_strip_leading_separators(const char *name, const char **nameptr); | ||
90 | size_t path_strip_trailing_separators(const char *name, const char **nameptr); | 91 | size_t path_strip_trailing_separators(const char *name, const char **nameptr); |
91 | void path_correct_separators(char *dstpath, const char *path); | 92 | void path_correct_separators(char *dstpath, const char *path); |
92 | void path_remove_dot_segments(char *dstpath, const char *path); | 93 | void path_remove_dot_segments(char *dstpath, const char *path); |