|
@@ -5,16 +5,6 @@
|
|
|
* 'tty.h' defines some structures used by tty_io.c and some defines.
|
|
|
*/
|
|
|
|
|
|
-/*
|
|
|
- * These constants are also useful for user-level apps (e.g., VC
|
|
|
- * resizing).
|
|
|
- */
|
|
|
-#define MIN_NR_CONSOLES 1 /* must be at least 1 */
|
|
|
-#define MAX_NR_CONSOLES 63 /* serial lines start at 64 */
|
|
|
-#define MAX_NR_USER_CONSOLES 63 /* must be root to allocate above this */
|
|
|
- /* Note: the ioctl VT_GETSTATE does not work for
|
|
|
- consoles 16 and higher (since it returns a short) */
|
|
|
-
|
|
|
#ifdef __KERNEL__
|
|
|
#include <linux/fs.h>
|
|
|
#include <linux/major.h>
|
|
@@ -270,7 +260,6 @@ struct tty_struct {
|
|
|
extern void tty_write_flush(struct tty_struct *);
|
|
|
|
|
|
extern struct termios tty_std_termios;
|
|
|
-extern int fg_console, last_console, want_console;
|
|
|
|
|
|
extern int kmsg_redirect;
|
|
|
|