Mercurial > vim
comparison src/pty.c @ 18051:d1e77015f60b v8.1.2021
patch 8.1.2021: some global functions can be local to the file
Commit: https://github.com/vim/vim/commit/840d16fd36bfd1a9fac8200e3dc016b1e3f9c328
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 10 21:27:18 2019 +0200
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 https://github.com/vim/vim/issues/4917)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 10 Sep 2019 21:30:06 +0200 |
parents | fd57da82dd5d |
children | 9e6d5a4abb1c |
comparison
equal
deleted
inserted
replaced
18050:dd9de94583a5 | 18051:d1e77015f60b |
---|---|
345 | 345 |
346 #if defined(_AIX) && defined(HAVE_DEV_PTC) && !defined(PTY_DONE) | 346 #if defined(_AIX) && defined(HAVE_DEV_PTC) && !defined(PTY_DONE) |
347 #define PTY_DONE | 347 #define PTY_DONE |
348 | 348 |
349 #ifdef _IBMR2 | 349 #ifdef _IBMR2 |
350 int aixhack = -1; | 350 static int aixhack = -1; |
351 #endif | 351 #endif |
352 | 352 |
353 int | 353 int |
354 mch_openpty(char **ttyn) | 354 mch_openpty(char **ttyn) |
355 { | 355 { |