diff options
Diffstat (limited to 'login/pty.h')
-rw-r--r-- | login/pty.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/login/pty.h b/login/pty.h index 2d4b5e270f..a2ed77d58d 100644 --- a/login/pty.h +++ b/login/pty.h @@ -32,12 +32,14 @@ __BEGIN_DECLS attributes according to TERMP and WINP and return handles for both ends in AMASTER and ASLAVE. */ extern int openpty (int *__amaster, int *__aslave, char *__name, - struct termios *__termp, struct winsize *__winp) __THROW; + const struct termios *__termp, + const struct winsize *__winp) __THROW; /* Create child process and establish the slave pseudo terminal as the child's controlling terminal. */ extern int forkpty (int *__amaster, char *__name, - struct termios *__termp, struct winsize *__winp) __THROW; + const struct termios *__termp, + const struct winsize *__winp) __THROW; __END_DECLS |