aboutsummaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
authorJohn <john.schmidt.h@gmail.com>2014-04-06 23:54:19 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-08 21:56:05 -0300
commitaa7218b646e52554621471df3668c2e1d95aa9c9 (patch)
treed357cbf7ff28ea17fea4769329e9dd60b029de45 /src/path.h
parent4348d1e6f74a87af55c6c01e7a0cb292e9dec114 (diff)
downloadrneovim-aa7218b646e52554621471df3668c2e1d95aa9c9.tar.gz
rneovim-aa7218b646e52554621471df3668c2e1d95aa9c9.tar.bz2
rneovim-aa7218b646e52554621471df3668c2e1d95aa9c9.zip
Move and adapt `os_get_absolute_path` unit tests to `vim_FullName`
* Add two new unit tests to `vim_FullName` * Make `os_get_absolute_path` static
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/path.h b/src/path.h
index 07451ec4c9..ebd773ab18 100644
--- a/src/path.h
+++ b/src/path.h
@@ -97,15 +97,6 @@ int os_full_dir_name(char *directory, char *buffer, int len);
// Append to_append to path with a slash in between.
int append_path(char *path, const char *to_append, int max_len);
-/// Expand a given file to its absolute path.
-///
-/// @param fname The filename which should be expanded.
-/// @param buf Buffer to store the absolute path of `fname`.
-/// @param len Length of `buf`.
-/// @param force Also expand when `fname` is already absolute.
-/// @return `FAIL` for failure, `OK` for success.
-int os_get_absolute_path(char_u *fname, char_u *buf, int len, int force);
-
/// Check if the given file is absolute.
///
/// This just checks if the file name starts with '/' or '~'.