0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 7.4.1213

Problem:    Using old style function declarations.
Solution:   Change to new style function declarations. (script by Hirohito
            Higashi)
This commit is contained in:
Bram Moolenaar
2016-01-30 20:31:25 +01:00
parent c1ab67674a
commit 055409764c
15 changed files with 911 additions and 1363 deletions

View File

@@ -134,8 +134,7 @@ static void initmaster(int);
#endif
static void
initmaster(f)
int f UNUSED;
initmaster(int f UNUSED)
{
#ifndef VMS
# ifdef POSIX
@@ -156,8 +155,7 @@ initmaster(f)
* pty on others. Needs to be tuned...
*/
int
SetupSlavePTY(fd)
int fd;
SetupSlavePTY(int fd)
{
if (fd < 0)
return 0;
@@ -180,8 +178,7 @@ SetupSlavePTY(fd)
#if defined(OSX) && !defined(PTY_DONE)
#define PTY_DONE
int
OpenPTY(ttyn)
char **ttyn;
OpenPTY(char **ttyn)
{
int f;
static char TtyName[32];