1
0
forked from aniani/vim

patch 9.1.0818: some global functions are only used in single files

Problem:  some global functions are only used in single files
Solution: refactor code slightly and make some more functions static
          (Yegappan Lakshmanan)

closes: #15951

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Yegappan Lakshmanan
2024-10-27 21:54:11 +01:00
committed by Christian Brabandt
parent 8f1d09828a
commit a04003a929
9 changed files with 17 additions and 18 deletions

View File

@@ -1021,7 +1021,7 @@ check_for_object_arg(typval_T *args, int idx)
/*
* Returns TRUE if "tv" is a type alias for a class
*/
int
static int
tv_class_alias(typval_T *tv)
{
return tv->v_type == VAR_TYPEALIAS &&