diff options
author | Alan Cox <alan@linux.intel.com> | 2009-06-11 07:48:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-11 11:51:01 -0400 |
commit | e8b70e7d3e86319a8b2aaabde3866833d92cd80f (patch) | |
tree | dac8e7b42f553ee3a9a0920e20b5a39da197b13a /include/linux/tty.h | |
parent | 5f0878acba7db24323f5ba4055ec9a96895bb150 (diff) |
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, | |||
428 | extern void tty_release_dev(struct file *filp); | 428 | extern void tty_release_dev(struct file *filp); |
429 | extern int tty_init_termios(struct tty_struct *tty); | 429 | extern int tty_init_termios(struct tty_struct *tty); |
430 | 430 | ||
431 | extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty); | ||
432 | extern struct tty_struct *tty_pair_get_pty(struct tty_struct *tty); | ||
433 | |||
431 | extern struct mutex tty_mutex; | 434 | extern struct mutex tty_mutex; |
432 | 435 | ||
433 | extern void tty_write_unlock(struct tty_struct *tty); | 436 | extern void tty_write_unlock(struct tty_struct *tty); |