summaryrefslogtreecommitdiffstats
path: root/lib/libutil/pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libutil/pty.c')
-rw-r--r--lib/libutil/pty.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c
index 4a2ea78..b230edb 100644
--- a/lib/libutil/pty.c
+++ b/lib/libutil/pty.c
@@ -54,11 +54,7 @@ static char sccsid[] = "@(#)pty.c 8.3 (Berkeley) 5/16/94";
#include <unistd.h>
int
-openpty(amaster, aslave, name, termp, winp)
- int *amaster, *aslave;
- char *name;
- struct termios *termp;
- struct winsize *winp;
+openpty(int *amaster, int *aslave, char *name, struct termios *termp, struct winsize *winp)
{
char line[] = "/dev/ptyXX";
const char *cp1, *cp2;
@@ -105,11 +101,7 @@ openpty(amaster, aslave, name, termp, winp)
}
int
-forkpty(amaster, name, termp, winp)
- int *amaster;
- char *name;
- struct termios *termp;
- struct winsize *winp;
+forkpty(int *amaster, char *name, struct termios *termp, struct winsize *winp)
{
int master, slave, pid;
OpenPOWER on IntegriCloud