diff options
author | Scott Prager <splinterofchaos@gmail.com> | 2014-11-19 14:44:45 -0500 |
---|---|---|
committer | Scott Prager <splinterofchaos@gmail.com> | 2014-11-27 14:38:26 -0500 |
commit | ecf81c3f20e9f4e2c2a7d83195b8c0f71d09277d (patch) | |
tree | e042a7797a7d1c24b369295f50dbfe237985523b /src/nvim/ex_docmd.c | |
parent | 763b62698a4b249debc2c0f9abb9869f7dd669ec (diff) | |
download | rneovim-ecf81c3f20e9f4e2c2a7d83195b8c0f71d09277d.tar.gz rneovim-ecf81c3f20e9f4e2c2a7d83195b8c0f71d09277d.tar.bz2 rneovim-ecf81c3f20e9f4e2c2a7d83195b8c0f71d09277d.zip |
strings/memory: constify and func_attr.
Fix MB_COPY_cHAR() to accept const pointers.
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 3e9b889253..ac29e5c451 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -7480,7 +7480,7 @@ static void ex_tag_cmd(exarg_T *eap, char_u *name) * If found return one of the SPEC_ values and set "*usedlen" to the length of * the variable. Otherwise return -1 and "*usedlen" is unchanged. */ -int find_cmdline_var(char_u *src, int *usedlen) +int find_cmdline_var(const char_u *src, int *usedlen) FUNC_ATTR_NONNULL_ALL { int len; int i; |