mirror of
https://github.com/vim/vim.git
synced 2025-10-23 08:44:20 -04:00
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:
committed by
Christian Brabandt
parent
8f1d09828a
commit
a04003a929
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user