* [PATCH] fix tty_io.c warning
@ 2001-11-30 4:45 OGAWA Hirofumi
0 siblings, 0 replies; only message in thread
From: OGAWA Hirofumi @ 2001-11-30 4:45 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
gcc -D__KERNEL__ -I/devel/src/linux/source/linux-2.5.1-pre4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c tty_io.c
tty_io.c: In function `tty_init':
tty_io.c:2322: warning: implicit declaration of function `console_map_init'
The following patch fix the above warning. Please apply.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--- linux-2.5.1-pre4.orig/drivers/char/tty_io.c Fri Nov 30 12:24:28 2001
+++ linux-2.5.1-pre4/drivers/char/tty_io.c Fri Nov 30 13:01:04 2001
@@ -102,10 +102,6 @@
#include <linux/kmod.h>
-#ifdef CONFIG_VT
-extern void con_init_devfs (void);
-#endif
-
#define CONSOLE_DEV MKDEV(TTY_MAJOR,0)
#define TTY_DEV MKDEV(TTYAUX_MAJOR,0)
#define SYSCONS_DEV MKDEV(TTYAUX_MAJOR,1)
@@ -2246,6 +2242,8 @@
static struct tty_driver dev_ptmx_driver;
#endif
#ifdef CONFIG_VT
+extern void con_init_devfs (void);
+extern void console_map_init(void);
static struct tty_driver dev_console_driver;
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-11-30 4:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-30 4:45 [PATCH] fix tty_io.c warning OGAWA Hirofumi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.