drivers/char/vc_screen.c: proper prototypes
Subsystems (2)
PATCH 1/1 drivers/char/vc_screen.c: proper prototypes
This patch adds proper prototypes for two functions in drivers/char/vc_screen.c
Signed-off-by Adrian Bunk <[email protected]>
---
drivers/char/vt.c | 3 --- include/linux/console.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-)
include/linux/console.h renamed from include/linux/console.h.old +4 -0
@@ -21,6 +21,7 @@struct console_font_op ;struct console_font ;struct module ; +struct tty_struct ;/* * this is what the terminal answers to a ESC-Z or csi0c query.
@@ -132,6 +133,9 @@int mda_console_init (void );void prom_con_init (void ); +void vcs_make_sysfs (struct tty_struct *tty); +void vcs_remove_sysfs (struct tty_struct *tty); +/* Some debug stub to catch some of the obvious races in the VT code */ #if 1 #define WARN_CONSOLE_UNLOCKED () WARN_ON(!is_console_locked() && !oops_in_progress)
drivers/char/vt.c renamed from drivers/char/vt.c.old +0 -3
@@ -136,9 +136,6 @@#define DEFAULT_BELL_PITCH 750#define DEFAULT_BELL_DURATION (HZ/8) -extern void vcs_make_sysfs (struct tty_struct *tty); -extern void vcs_remove_sysfs (struct tty_struct *tty); -struct vc vc_cons [MAX_NR_CONSOLES ];#ifndef VT_SINGLE_DRIVER