Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] drivers/char/vc_screen.c: proper prototypes

Add proper prototypes for two functions in drivers/char/vc_screen.c

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Adrian Bunk and committed by
Linus Torvalds
1b135431 57a87bb0

+4 -3
-3
drivers/char/vt.c
··· 136 136 #define DEFAULT_BELL_PITCH 750 137 137 #define DEFAULT_BELL_DURATION (HZ/8) 138 138 139 - extern void vcs_make_sysfs(struct tty_struct *tty); 140 - extern void vcs_remove_sysfs(struct tty_struct *tty); 141 - 142 139 struct vc vc_cons [MAX_NR_CONSOLES]; 143 140 144 141 #ifndef VT_SINGLE_DRIVER
+4
include/linux/console.h
··· 21 21 struct console_font_op; 22 22 struct console_font; 23 23 struct module; 24 + struct tty_struct; 24 25 25 26 /* 26 27 * this is what the terminal answers to a ESC-Z or csi0c query. ··· 132 131 133 132 int mda_console_init(void); 134 133 void prom_con_init(void); 134 + 135 + void vcs_make_sysfs(struct tty_struct *tty); 136 + void vcs_remove_sysfs(struct tty_struct *tty); 135 137 136 138 /* Some debug stub to catch some of the obvious races in the VT code */ 137 139 #if 1