summaryrefslogtreecommitdiff
path: root/login/openpty.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-12-27 09:14:45 +0000
committerJakub Jelinek <jakub@redhat.com>2007-12-27 09:14:45 +0000
commitf163450fc0969ebd6f63c5d9bd059f6f0d107d75 (patch)
tree1d7cb198dead8b16362e6ed6b8f71f52fb50a0d0 /login/openpty.c
parentc5899b63ebb80de72b909a475e1dd41b99a4080c (diff)
Updated to fedora-glibc-20071227T0908cvs/fedora-glibc-2_7_90-2
Diffstat (limited to 'login/openpty.c')
-rw-r--r--login/openpty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login/openpty.c b/login/openpty.c
index fe11d49feb..0ff901c3f5 100644
--- a/login/openpty.c
+++ b/login/openpty.c
@@ -84,8 +84,8 @@ pts_name (int fd, char **pts, size_t buf_len)
according to TERMP and WINP. Return handles for both ends in
AMASTER and ASLAVE, and return the name of the slave end in NAME. */
int
-openpty (int *amaster, int *aslave, char *name, struct termios *termp,
- struct winsize *winp)
+openpty (int *amaster, int *aslave, char *name,
+ const struct termios *termp, const struct winsize *winp)
{
#ifdef PATH_MAX
char _buf[PATH_MAX];