aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett2012-11-18 21:27:40 -0800
committerGreg Kroah-Hartman2012-11-21 15:43:26 -0800
commit159a8e92fdf6967cb67e7639832f819fbc607242 (patch)
tree443c3c6af5795a2cef21fe14c77a30487854c772
parentdc96efb72054985c0912f831da009a2da4e9f6dd (diff)
pty: Mark pty_resize static
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>
-rw-r--r--drivers/tty/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c
index a541ec875932..be6a373601b7 100644
--- a/drivers/tty/pty.c
+++ b/drivers/tty/pty.c
@@ -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;