summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-10 21:27:18 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-10 21:27:18 +0200
commit840d16fd36bfd1a9fac8200e3dc016b1e3f9c328 (patch)
treee0b85aeb6c3da97a0f8096ef934372f9b297ba7b /src/os_unix.c
parentd20dcb3d011da6111153109f6e46fbd5c7fe9fb6 (diff)
downloadvim-git-840d16fd36bfd1a9fac8200e3dc016b1e3f9c328.tar.gz
patch 8.1.2021: some global functions can be local to the filev8.1.2021
Problem: Some global functions can be local to the file. Solution: Add "static". (Yegappan Lakshmanan, closes #4917)
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 5efb5d135..2851459e4 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -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