summaryrefslogtreecommitdiff
path: root/src/pty.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/pty.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/pty.c')
-rw-r--r--src/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pty.c b/src/pty.c
index 7a9e693b6..a2162e210 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -347,7 +347,7 @@ mch_openpty(char **ttyn)
#define PTY_DONE
#ifdef _IBMR2
-int aixhack = -1;
+static int aixhack = -1;
#endif
int