diff options
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index 5dbb3cb05a82..a91ff403b3bf 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -52,6 +52,7 @@ | |||
52 | * hardcoded at present.) | 52 | * hardcoded at present.) |
53 | */ | 53 | */ |
54 | #define NR_UNIX98_PTY_DEFAULT 4096 /* Default maximum for Unix98 ptys */ | 54 | #define NR_UNIX98_PTY_DEFAULT 4096 /* Default maximum for Unix98 ptys */ |
55 | #define NR_UNIX98_PTY_RESERVE 1024 /* Default reserve for main devpts */ | ||
55 | #define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */ | 56 | #define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */ |
56 | 57 | ||
57 | /* | 58 | /* |
@@ -480,10 +481,11 @@ extern void free_tty_struct(struct tty_struct *tty); | |||
480 | extern void initialize_tty_struct(struct tty_struct *tty, | 481 | extern void initialize_tty_struct(struct tty_struct *tty, |
481 | struct tty_driver *driver, int idx); | 482 | struct tty_driver *driver, int idx); |
482 | extern void deinitialize_tty_struct(struct tty_struct *tty); | 483 | extern void deinitialize_tty_struct(struct tty_struct *tty); |
483 | extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx, | 484 | extern struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx); |
484 | int first_ok); | ||
485 | extern int tty_release(struct inode *inode, struct file *filp); | 485 | extern int tty_release(struct inode *inode, struct file *filp); |
486 | extern int tty_init_termios(struct tty_struct *tty); | 486 | extern int tty_init_termios(struct tty_struct *tty); |
487 | extern int tty_standard_install(struct tty_driver *driver, | ||
488 | struct tty_struct *tty); | ||
487 | 489 | ||
488 | extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty); | 490 | extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty); |
489 | extern struct tty_struct *tty_pair_get_pty(struct tty_struct *tty); | 491 | extern struct tty_struct *tty_pair_get_pty(struct tty_struct *tty); |