diff options
| author | Mark Murray <markm@FreeBSD.org> | 2003-10-18 10:04:16 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 2003-10-18 10:04:16 +0000 |
| commit | 547fa0d9b785fb498d3d0db63618b781d2b83591 (patch) | |
| tree | 204484574f03753da73a26a0ec8c893e61e56e98 /lib/libutil/pty.c | |
| parent | 804b0f979adf5d92dc50561f464dac664a06d0a8 (diff) | |
Notes
Diffstat (limited to 'lib/libutil/pty.c')
| -rw-r--r-- | lib/libutil/pty.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c index 4a2ea782acff..b230edb113af 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; |
