]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0003: functions are global while they could be local v9.0.0003
authorYegappan Lakshmanan <yegappan@yahoo.com>
Wed, 29 Jun 2022 11:55:36 +0000 (12:55 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 29 Jun 2022 11:55:36 +0000 (12:55 +0100)
commitee47eaceaa148e07b566ff420f9a3c2edde2fa34
tree990dc0d8074d51970ecc83ad94a59e884687a313
parentc207fd2535717030d78f9b92839e5f2ac004cc78
patch 9.0.0003: functions are global while they could be local

Problem:    Functions are global while they could be local.
Solution:   Add "static".  Add a few tests. (Yegappan Lakshmanan,
            closes #10612)
16 files changed:
src/crypt.c
src/evalvars.c
src/gui.c
src/highlight.c
src/proto/crypt.pro
src/proto/evalvars.pro
src/proto/gui.pro
src/proto/highlight.pro
src/proto/scriptfile.pro
src/proto/userfunc.pro
src/scriptfile.c
src/testdir/test_fold.vim
src/testdir/test_quickfix.vim
src/testdir/test_vim9_builtin.vim
src/userfunc.c
src/version.c