aboutsummaryrefslogtreecommitdiff
path: root/login/pty.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-12-17 21:22:17 +0000
committerRoland McGrath <roland@gnu.org>2007-12-17 21:22:17 +0000
commit4bcecfb75306716baf2f70e2afeb908b3f2c9c75 (patch)
tree5a55d57ab8c5c629fc0cc694a3063174bee0db6b /login/pty.h
parente42976314d641cb26e87f6fb994b21f2c68437a8 (diff)
downloadglibc-4bcecfb75306716baf2f70e2afeb908b3f2c9c75.tar
glibc-4bcecfb75306716baf2f70e2afeb908b3f2c9c75.tar.gz
glibc-4bcecfb75306716baf2f70e2afeb908b3f2c9c75.tar.bz2
glibc-4bcecfb75306716baf2f70e2afeb908b3f2c9c75.zip
* inet/ether_line.c (ether_line): Remove unused variable.
2007-12-17 Samuel Thibault <samuel.thibault@ens-lyon.org> * login/forkpty.c (forkpty): Add const qualifier to parameters termp and winp. * login/openpty.c (openpty): Likewise. * login/pty.h (openpty, forkpty): Likewise. * manual/terminal.texi (openpty, forkpty): Likewise.
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