aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/stdpaths.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-04-15 04:09:30 +0200
committerGitHub <noreply@github.com>2018-04-15 04:09:30 +0200
commit1e7d5e8cdf9827978f42ea114cfd85f9d32b00eb (patch)
tree6c710f2f6c6680ce41c55ee0e29c980946c9f623 /src/nvim/os/stdpaths.c
parent5abfa94ed28e7058372b8368b53162c1c92cbc4e (diff)
parentec459965f50456a393f6fb182568a866e787fcda (diff)
downloadrneovim-1e7d5e8cdf9827978f42ea114cfd85f9d32b00eb.tar.gz
rneovim-1e7d5e8cdf9827978f42ea114cfd85f9d32b00eb.tar.bz2
rneovim-1e7d5e8cdf9827978f42ea114cfd85f9d32b00eb.zip
Merge #6272 'stdpath()'
Diffstat (limited to 'src/nvim/os/stdpaths.c')
-rw-r--r--src/nvim/os/stdpaths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/stdpaths.c b/src/nvim/os/stdpaths.c
index a41fb7c621..866a005228 100644
--- a/src/nvim/os/stdpaths.c
+++ b/src/nvim/os/stdpaths.c
@@ -88,7 +88,7 @@ char *stdpaths_get_xdg_var(const XDGVarType idx)
///
/// In WIN32 get_xdg_home(kXDGDataHome) returns `{xdg_directory}/nvim-data` to
/// avoid storing configuration and data files in the same path.
-static char *get_xdg_home(const XDGVarType idx)
+char *get_xdg_home(const XDGVarType idx)
FUNC_ATTR_WARN_UNUSED_RESULT
{
char *dir = stdpaths_get_xdg_var(idx);