diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-31 17:30:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-31 17:30:51 +0100 |
commit | d14e00ea67afbaa8cb4a7e6b1eb306da6a2d5adb (patch) | |
tree | f33b2f999a51f5ecd5b42c01b0d837ab8e660b44 /src/pty.c | |
parent | bbb3339dbfa2067fab616698739097df06aa5e6c (diff) | |
download | vim-git-d14e00ea67afbaa8cb4a7e6b1eb306da6a2d5adb.tar.gz |
patch 7.4.1225v7.4.1225
Problem: Still a few old style function declarations.
Solution: Make them new style. (Hirohito Higashi)
Diffstat (limited to 'src/pty.c')
-rw-r--r-- | src/pty.c | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -195,8 +195,7 @@ OpenPTY(char **ttyn) && !defined(PTY_DONE) #define PTY_DONE int -OpenPTY(ttyn) - char **ttyn; +OpenPTY(char **ttyn) { char *m, *s; int f; @@ -220,8 +219,7 @@ OpenPTY(ttyn) #if defined(__sgi) && !defined(PTY_DONE) #define PTY_DONE int -OpenPTY(ttyn) - char **ttyn; +OpenPTY(char **ttyn) { int f; char *name; @@ -246,8 +244,7 @@ OpenPTY(ttyn) #if defined(MIPS) && defined(HAVE_DEV_PTC) && !defined(PTY_DONE) #define PTY_DONE int -OpenPTY(ttyn) - char **ttyn; +OpenPTY(char **ttyn) { int f; struct stat buf; @@ -274,8 +271,7 @@ OpenPTY(ttyn) * Same for Mac OS X Leopard. */ #define PTY_DONE int -OpenPTY(ttyn) - char **ttyn; +OpenPTY(char **ttyn) { int f; char *m; @@ -316,8 +312,7 @@ int aixhack = -1; #endif int -OpenPTY(ttyn) - char **ttyn; +OpenPTY(char **ttyn) { int f; /* used for opening a new pty-pair: */ @@ -363,8 +358,7 @@ static char TtyProto[] = "/dev/ttyXY"; # endif int -OpenPTY(ttyn) - char **ttyn; +OpenPTY(char **ttyn) { char *p, *q, *l, *d; int f; |