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

patch 7.4.1225

Problem:    Still a few old style function declarations.
Solution:   Make them new style. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar
2016-01-31 17:30:51 +01:00
parent bbb3339dbf
commit d14e00ea67
12 changed files with 66 additions and 84 deletions

View File

@@ -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;