summaryrefslogtreecommitdiff
path: root/src/pty.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-29 22:47:03 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-29 22:47:03 +0100
commitbaaa7e9ec7398a813e21285c272fa99792642077 (patch)
treee9636114bf7c80ae3f7ded9ba9edb8b3ea504344 /src/pty.c
parent92b8b2d307e34117f146319872010b0ccc9d2713 (diff)
downloadvim-git-baaa7e9ec7398a813e21285c272fa99792642077.tar.gz
patch 7.4.1199v7.4.1199
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Diffstat (limited to 'src/pty.c')
-rw-r--r--src/pty.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pty.c b/src/pty.c
index 4dad54c1f..02520935b 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -124,7 +124,7 @@
# undef HAVE_SVR4_PTYS
#endif
-static void initmaster __ARGS((int));
+static void initmaster(int);
/*
* Open all ptys with O_NOCTTY, just to be on the safe side.
@@ -282,10 +282,10 @@ OpenPTY(ttyn)
{
int f;
char *m;
- char *(ptsname __ARGS((int)));
- int unlockpt __ARGS((int));
- int grantpt __ARGS((int));
- RETSIGTYPE (*sigcld)__ARGS(SIGPROTOARG);
+ char *(ptsname(int));
+ int unlockpt(int);
+ int grantpt(int);
+ RETSIGTYPE (*sigcld) SIGPROTOARG;
/* used for opening a new pty-pair: */
static char TtyName[32];