[PATCH] make redirect static

Andries.Brouwer@cwi.nl
Thu, 27 Mar 2003 23:51:14 +0100 (MET)


diff -u --recursive --new-file -X /linux/dontdiff a/drivers/char/tty_io.c b/drivers/char/tty_io.c
--- a/drivers/char/tty_io.c Tue Mar 25 04:54:31 2003
+++ b/drivers/char/tty_io.c Thu Mar 27 23:05:09 2003
@@ -136,7 +136,7 @@
* redirect is the pseudo-tty that console output
* is redirected to if asked by TIOCCONS.
*/
-struct tty_struct * redirect;
+static struct tty_struct *redirect;

static void initialize_tty_struct(struct tty_struct *tty);

diff -u --recursive --new-file -X /linux/dontdiff a/include/linux/tty.h b/include/linux/tty.h
--- a/include/linux/tty.h Tue Mar 18 11:48:23 2003
+++ b/include/linux/tty.h Thu Mar 27 23:14:31 2003
@@ -342,7 +342,6 @@
extern void tty_write_flush(struct tty_struct *);

extern struct termios tty_std_termios;
-extern struct tty_struct * redirect;
extern struct tty_ldisc ldiscs[];
extern int fg_console, last_console, want_console;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/