aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@proton.me>2025-01-01 19:45:14 +0600
committerGitHub <noreply@github.com>2025-01-01 07:45:14 -0600
commit9d114b720514b0bde96dbdd9b6ef328d232a1589 (patch)
tree6f0dacc350b3d5a4a987cb5ab38073bbe2b8e10d /src/nvim/os
parent59cbe640233eeb6ae96231e059449e73e15f9ea5 (diff)
downloadrneovim-9d114b720514b0bde96dbdd9b6ef328d232a1589.tar.gz
rneovim-9d114b720514b0bde96dbdd9b6ef328d232a1589.tar.bz2
rneovim-9d114b720514b0bde96dbdd9b6ef328d232a1589.zip
refactor(options): use `const` in more places (#31791)
Diffstat (limited to 'src/nvim/os')
-rw-r--r--src/nvim/os/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/env.c b/src/nvim/os/env.c
index 733e52e69c..3126881266 100644
--- a/src/nvim/os/env.c
+++ b/src/nvim/os/env.c
@@ -580,7 +580,7 @@ void expand_env(char *src, char *dst, int dstlen)
/// @param esc Escape spaces in expanded variables
/// @param one `srcp` is a single filename
/// @param prefix Start again after this (can be NULL)
-void expand_env_esc(char *restrict srcp, char *restrict dst, int dstlen, bool esc, bool one,
+void expand_env_esc(const char *restrict srcp, char *restrict dst, int dstlen, bool esc, bool one,
char *prefix)
FUNC_ATTR_NONNULL_ARG(1, 2)
{