0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -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:
Bram Moolenaar
2019-09-10 21:27:18 +02:00
parent d20dcb3d01
commit 840d16fd36
18 changed files with 17 additions and 26 deletions

View File

@@ -4276,7 +4276,7 @@ open_pty(int *pty_master_fd, int *pty_slave_fd, char_u **name1, char_u **name2)
/*
* Send SIGINT to a child process if "c" is an interrupt character.
*/
void
static void
may_send_sigint(int c UNUSED, pid_t pid UNUSED, pid_t wpid UNUSED)
{
# ifdef SIGINT