aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2009-01-02 08:43:17 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-02 13:19:36 -0500
commitfc6f6238226e6d1248e1967eae2bf556eaf3ac17 (patch)
tree07cef0fafd30bd622dac1db4751e10734773c863 /include/linux/tty.h
parenta47d545f5782cbde871b50bdf4a83379ed2da222 (diff)
pty: simplify resize
We have special case logic for resizing pty/tty pairs. We also have a per driver resize method so for the pty case we should use it. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r--include/linux/tty.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index dfc77ded198a..f88169787a5f 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -360,8 +360,7 @@ extern int tty_write_room(struct tty_struct *tty);
360extern void tty_driver_flush_buffer(struct tty_struct *tty); 360extern void tty_driver_flush_buffer(struct tty_struct *tty);
361extern void tty_throttle(struct tty_struct *tty); 361extern void tty_throttle(struct tty_struct *tty);
362extern void tty_unthrottle(struct tty_struct *tty); 362extern void tty_unthrottle(struct tty_struct *tty);
363extern int tty_do_resize(struct tty_struct *tty, struct tty_struct *real_tty, 363extern int tty_do_resize(struct tty_struct *tty, struct winsize *ws);
364 struct winsize *ws);
365extern void tty_shutdown(struct tty_struct *tty); 364extern void tty_shutdown(struct tty_struct *tty);
366extern void tty_free_termios(struct tty_struct *tty); 365extern void tty_free_termios(struct tty_struct *tty);
367extern int is_current_pgrp_orphaned(void); 366extern int is_current_pgrp_orphaned(void);