From 840d16fd36bfd1a9fac8200e3dc016b1e3f9c328 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 10 Sep 2019 21:27:18 +0200 Subject: 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) --- src/os_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os_unix.c') 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 -- cgit v1.2.1