pty: Mark pty_resize static
authorJosh Triplett <josh@joshtriplett.org>
Mon, 19 Nov 2012 05:27:40 +0000 (21:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 23:43:26 +0000 (15:43 -0800)
Nothing outside of drivers/tty/pty.c references pty_resize.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c

index a541ec875932bdddc9329a64a5d1bc3b977584e2..be6a373601b783677b876a512854edcfb28f3732 100644 (file)
@@ -277,7 +277,7 @@ static void pty_set_termios(struct tty_struct *tty,
  *     peform a terminal resize correctly
  */
 
-int pty_resize(struct tty_struct *tty,  struct winsize *ws)
+static int pty_resize(struct tty_struct *tty,  struct winsize *ws)
 {
        struct pid *pgrp, *rpgrp;
        unsigned long flags;