summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2024-03-29 16:09:56 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2024-03-30 11:01:53 -0400
commitfe00906abb355a40888e7a2ce785ddfe3cfc525f (patch)
tree78ebfcc04d1a540636d3574eb3f27925fa88a4bd /firmware/export
parent777098fca9765900202d8d9c1698c57f136c7338 (diff)
downloadrockbox-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')
-rw-r--r--firmware/export/pathfuncs.h1
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);
87int path_strip_drive(const char *name, const char **nameptr, bool greedy); 87int path_strip_drive(const char *name, const char **nameptr, bool greedy);
88size_t path_basename(const char *name, const char **nameptr); 88size_t path_basename(const char *name, const char **nameptr);
89size_t path_dirname(const char *name, const char **nameptr); 89size_t path_dirname(const char *name, const char **nameptr);
90size_t path_strip_leading_separators(const char *name, const char **nameptr);
90size_t path_strip_trailing_separators(const char *name, const char **nameptr); 91size_t path_strip_trailing_separators(const char *name, const char **nameptr);
91void path_correct_separators(char *dstpath, const char *path); 92void path_correct_separators(char *dstpath, const char *path);
92void path_remove_dot_segments(char *dstpath, const char *path); 93void path_remove_dot_segments(char *dstpath, const char *path);