summaryrefslogtreecommitdiff
path: root/src/pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pty.c')
-rw-r--r--src/pty.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/pty.c b/src/pty.c
index 8415057ec..833b2d641 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -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];