forked from aniani/vim
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)
This commit is contained in:
committed by
Bram Moolenaar
parent
c207fd2535
commit
ee47eaceaa
@@ -2346,7 +2346,7 @@ source_finished(
|
||||
* Find the path of a script below the "autoload" directory.
|
||||
* Returns NULL if there is no "/autoload/" in the script name.
|
||||
*/
|
||||
char_u *
|
||||
static char_u *
|
||||
script_name_after_autoload(scriptitem_T *si)
|
||||
{
|
||||
char_u *p = si->sn_name;
|
||||
|
Reference in New Issue
Block a user