summaryrefslogtreecommitdiff
path: root/login/pty.h
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/pty.h
parentc5899b63ebb80de72b909a475e1dd41b99a4080c (diff)
Updated to fedora-glibc-20071227T0908cvs/fedora-glibc-2_7_90-2
Diffstat (limited to 'login/pty.h')
-rw-r--r--login/pty.h6
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