diff options
Diffstat (limited to 'options/path.h')
-rw-r--r-- | options/path.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/path.h b/options/path.h index 763a8dda54..203651a931 100644 --- a/options/path.h +++ b/options/path.h @@ -65,6 +65,8 @@ char *mp_splitext(const char *path, bstr *root); */ struct bstr mp_dirname(const char *path); +void mp_path_strip_trailing_separator(char *path); + /* Join two path components and return a newly allocated string * for the result. '/' is inserted between the components if needed. * If p2 is an absolute path then the value of p1 is ignored. |