|
@@ -421,7 +421,7 @@ static inline struct tty_struct *tty_kref_get(struct tty_struct *tty)
|
|
|
|
|
|
extern int tty_paranoia_check(struct tty_struct *tty, struct inode *inode,
|
|
extern int tty_paranoia_check(struct tty_struct *tty, struct inode *inode,
|
|
const char *routine);
|
|
const char *routine);
|
|
-extern char *tty_name(struct tty_struct *tty, char *buf);
|
|
|
|
|
|
+extern const char *tty_name(const struct tty_struct *tty, char *buf);
|
|
extern void tty_wait_until_sent(struct tty_struct *tty, long timeout);
|
|
extern void tty_wait_until_sent(struct tty_struct *tty, long timeout);
|
|
extern int tty_check_change(struct tty_struct *tty);
|
|
extern int tty_check_change(struct tty_struct *tty);
|
|
extern void __stop_tty(struct tty_struct *tty);
|
|
extern void __stop_tty(struct tty_struct *tty);
|