getptmfd() and fdforkpty() compat.

This commit is contained in:
Nicholas Marriott
2017-04-20 19:09:07 +01:00
parent 7934e7a6b5
commit 9420758127
5 changed files with 54 additions and 4 deletions

View File

@ -29,7 +29,8 @@ void fatal(const char *, ...);
void fatalx(const char *, ...);
pid_t
forkpty(int *master, unused char *name, struct termios *tio, struct winsize *ws)
forkpty(int *master, __unused char *name, struct termios *tio,
struct winsize *ws)
{
int slave = -1, fd, pipe_fd[2];
char *path, dummy;