Skip to contentSkip to conversation

tty_io.c: make redirect static

PATCH New [email protected] 1 participant 1 message Apr 8, 2003 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty_io.c: make redirect static

drivers/char/tty_io.c +1 -1
diff -u --recursive --new-file -X /linux/dontdiff a/drivers/char/tty_io.c b/drivers/char/tty_io.c
@@ -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);