aboutsummaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 646e6e7b48..2ca42fee03 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -1614,17 +1614,6 @@ int get_real_state(void)
}
/*
- * Return TRUE if "p" points to just after a path separator.
- * Takes care of multi-byte characters.
- * "b" must point to the start of the file name
- */
-int after_pathsep(char_u *b, char_u *p)
-{
- return p > b && vim_ispathsep(p[-1])
- && (!has_mbyte || (*mb_head_off)(b, p - 1) == 0);
-}
-
-/*
* Return TRUE if file names "f1" and "f2" are in the same directory.
* "f1" may be a short name, "f2" must be a full path.
*/