mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.2021: some global functions can be local to the file
Problem: Some global functions can be local to the file. Solution: Add "static". (Yegappan Lakshmanan, closes #4917)
This commit is contained in:
@@ -775,7 +775,7 @@ u_compute_hash(char_u *hash)
|
||||
* When "reading" is FALSE use the first name where the directory exists.
|
||||
* Returns NULL when there is no place to write or no file to read.
|
||||
*/
|
||||
char_u *
|
||||
static char_u *
|
||||
u_get_undo_file_name(char_u *buf_ffname, int reading)
|
||||
{
|
||||
char_u *dirp;
|
||||
@@ -3590,7 +3590,7 @@ curbufIsChanged(void)
|
||||
* For undotree(): Append the list of undo blocks at "first_uhp" to "list".
|
||||
* Recursive.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
u_eval_tree(u_header_T *first_uhp, list_T *list)
|
||||
{
|
||||
u_header_T *uhp = first_uhp;
|
||||
|
Reference in New Issue
Block a user