diff options
author | Alan Cox <alan@linux.intel.com> | 2009-06-11 12:48:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-11 08:51:01 -0700 |
commit | e8b70e7d3e86319a8b2aaabde3866833d92cd80f (patch) | |
tree | dac8e7b42f553ee3a9a0920e20b5a39da197b13a /include/linux/tty.h | |
parent | 5f0878acba7db24323f5ba4055ec9a96895bb150 (diff) | |
download | linux-stable-e8b70e7d3e86319a8b2aaabde3866833d92cd80f.tar.gz linux-stable-e8b70e7d3e86319a8b2aaabde3866833d92cd80f.tar.bz2 linux-stable-e8b70e7d3e86319a8b2aaabde3866833d92cd80f.zip |
tty: Extract various bits of ldisc code
Before trying to tackle the ldisc bugs the code needs to be a good deal
more readable, so do the simple extractions of routines first.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index bed5a3d40307..f9c13c83790c 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -428,6 +428,9 @@ extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx, extern void tty_release_dev(struct file *filp); extern int tty_init_termios(struct tty_struct *tty); +extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty); +extern struct tty_struct *tty_pair_get_pty(struct tty_struct *tty); + extern struct mutex tty_mutex; extern void tty_write_unlock(struct tty_struct *tty); |