diff options
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 54523a37e956..3c7c75794a4a 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -401,9 +401,14 @@ extern dev_t tty_devnum(struct tty_struct *tty); | |||
401 | extern void proc_clear_tty(struct task_struct *p); | 401 | extern void proc_clear_tty(struct task_struct *p); |
402 | extern struct tty_struct *get_current_tty(void); | 402 | extern struct tty_struct *get_current_tty(void); |
403 | extern void tty_default_fops(struct file_operations *fops); | 403 | extern void tty_default_fops(struct file_operations *fops); |
404 | extern struct tty_struct *alloc_tty_struct(void); | ||
405 | extern void free_tty_struct(struct tty_struct *tty); | ||
406 | extern void initialize_tty_struct(struct tty_struct *tty, | ||
407 | struct tty_driver *driver, int idx); | ||
404 | extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx, | 408 | extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx, |
405 | int first_ok); | 409 | int first_ok); |
406 | extern void tty_release_dev(struct file *filp); | 410 | extern void tty_release_dev(struct file *filp); |
411 | extern int tty_init_termios(struct tty_struct *tty); | ||
407 | 412 | ||
408 | extern struct mutex tty_mutex; | 413 | extern struct mutex tty_mutex; |
409 | 414 | ||