diff options
author | Roland McGrath <roland@gnu.org> | 2007-12-17 21:22:17 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2007-12-17 21:22:17 +0000 |
commit | 4bcecfb75306716baf2f70e2afeb908b3f2c9c75 (patch) | |
tree | 5a55d57ab8c5c629fc0cc694a3063174bee0db6b /login/forkpty.c | |
parent | e42976314d641cb26e87f6fb994b21f2c68437a8 (diff) | |
download | glibc-4bcecfb75306716baf2f70e2afeb908b3f2c9c75.tar.gz glibc-4bcecfb75306716baf2f70e2afeb908b3f2c9c75.tar.xz 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/forkpty.c')
-rw-r--r-- | login/forkpty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/login/forkpty.c b/login/forkpty.c index ccd5dbfe0e..482aebcb28 100644 --- a/login/forkpty.c +++ b/login/forkpty.c @@ -27,8 +27,8 @@ int forkpty (amaster, name, termp, winp) int *amaster; char *name; - struct termios *termp; - struct winsize *winp; + const struct termios *termp; + const struct winsize *winp; { int master, slave, pid; |