diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-30 20:31:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-30 20:31:25 +0100 |
commit | 055409764ca5f7978d4c399d2c440af0ce971c4f (patch) | |
tree | d3f9b0d26c4e371720910e462e2ec918e19d5792 /src/pty.c | |
parent | c1ab67674aa0dfdcf9f0e9701ac248e3eb41b19c (diff) | |
download | vim-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.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -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]; |