aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-11-29 22:48:23 -0500
committerJustin M. Keyes <justinkz@gmail.com>2014-11-29 22:48:23 -0500
commit3e665efea47911bcbe94485dd35efa4c3062c662 (patch)
treec5058e31d662c66bc5fb0b701d234f58fb9f7517 /src/nvim/ex_docmd.c
parent75524dbf9ac0013305fa4357066c36f41784a87c (diff)
parentf75de5e671699fbcff93bb9715916a02b5c7b37d (diff)
downloadrneovim-3e665efea47911bcbe94485dd35efa4c3062c662.tar.gz
rneovim-3e665efea47911bcbe94485dd35efa4c3062c662.tar.bz2
rneovim-3e665efea47911bcbe94485dd35efa4c3062c662.zip
Merge pull request #1497 from splinterofchaos/const-attr
constify and func-attribute memory.c and strings.c
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 3967c916bb..706aef0133 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -7482,7 +7482,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;