mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 8.2.4045: some global functions are only used in one file
Problem: Some global functions are only used in one file. Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
This commit is contained in:
committed by
Bram Moolenaar
parent
7c24dfddc2
commit
782b43d894
@@ -66,7 +66,7 @@ generate_instr_drop(cctx_T *cctx, isntype_T isn_type, int drop)
|
||||
* Generate instruction "isn_type" and put "type" on the type stack,
|
||||
* use "decl_type" for the declared type.
|
||||
*/
|
||||
isn_T *
|
||||
static isn_T *
|
||||
generate_instr_type2(
|
||||
cctx_T *cctx,
|
||||
isntype_T isn_type,
|
||||
@@ -828,7 +828,7 @@ generate_STORE(cctx_T *cctx, isntype_T isn_type, int idx, char_u *name)
|
||||
/*
|
||||
* Generate an ISN_STOREOUTER instruction.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
generate_STOREOUTER(cctx_T *cctx, int idx, int level)
|
||||
{
|
||||
isn_T *isn;
|
||||
@@ -862,7 +862,7 @@ generate_STORENR(cctx_T *cctx, int idx, varnumber_T value)
|
||||
/*
|
||||
* Generate an ISN_STOREOPT or ISN_STOREFUNCOPT instruction
|
||||
*/
|
||||
int
|
||||
static int
|
||||
generate_STOREOPT(
|
||||
cctx_T *cctx,
|
||||
isntype_T isn_type,
|
||||
|
Reference in New Issue
Block a user