summaryrefslogtreecommitdiff
path: root/src/pty.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-30 20:31:25 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-30 20:31:25 +0100
commit055409764ca5f7978d4c399d2c440af0ce971c4f (patch)
treed3f9b0d26c4e371720910e462e2ec918e19d5792 /src/pty.c
parentc1ab67674aa0dfdcf9f0e9701ac248e3eb41b19c (diff)
downloadvim-git-055409764ca5f7978d4c399d2c440af0ce971c4f.tar.gz
patch 7.4.1213v7.4.1213
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
Diffstat (limited to 'src/pty.c')
-rw-r--r--src/pty.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/pty.c b/src/pty.c
index 8415057ec..833b2d641 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -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];