summaryrefslogtreecommitdiff
path: root/src/pty.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-31 17:30:51 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-31 17:30:51 +0100
commitd14e00ea67afbaa8cb4a7e6b1eb306da6a2d5adb (patch)
treef33b2f999a51f5ecd5b42c01b0d837ab8e660b44 /src/pty.c
parentbbb3339dbfa2067fab616698739097df06aa5e6c (diff)
downloadvim-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.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/pty.c b/src/pty.c
index 833b2d641..853c90cb4 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -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;