summaryrefslogtreecommitdiff
path: root/src/dict.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-08-09 19:59:06 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-09 19:59:06 +0200
commit8ee52affe7fd4daa03e002bc06611f0a8c3bcd5b (patch)
treebf218a0a9a9a0c8c182aca16491f5063f79acce5 /src/dict.c
parenteed9616120f60ad17d5e133f505bba5c559aee89 (diff)
downloadvim-git-8ee52affe7fd4daa03e002bc06611f0a8c3bcd5b.tar.gz
patch 8.2.3320: some local functions are not staticv8.2.3320
Problem: Some local functions are not static. Solution: Add "static". Move snprintf() related code to strings.c. (Yegappan Lakshmanan, closes #8734)
Diffstat (limited to 'src/dict.c')
-rw-r--r--src/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c
index 82397d512..9ce6dda3d 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -805,7 +805,7 @@ dict2string(typval_T *tv, int copyID, int restore_copyID)
* Advance over a literal key, including "-". If the first character is not a
* literal key character then "key" is returned.
*/
- char_u *
+ static char_u *
skip_literal_key(char_u *key)
{
char_u *p;