Make pty.h match recent glibc.

* include/pty.h (openpty, forkpty): Mark last two arguments const,
to match glibc 2.8.
* libc/bsdlib.cc (openpty, forkpty): Likewise.
This commit is contained in:
Eric Blake
2009-12-26 06:20:56 +00:00
parent 37520977df
commit 1c0a4c3a8e
3 changed files with 14 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
2009-12-26 Eric Blake <ebb9@byu.net>
* include/pty.h (openpty, forkpty): Mark last two arguments const,
to match glibc 2.8.
* libc/bsdlib.cc (openpty, forkpty): Likewise.
2009-12-25 Andy Koppe <andy.koppe@gmail.com>
* fhandler_console.cc (handler_console::read): Use the tty's VERASE