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:
@@ -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
|
||||
|
Reference in New Issue
Block a user