summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2012-11-19 09:27:40 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-22 03:43:26 +0400
commit159a8e92fdf6967cb67e7639832f819fbc607242 (patch)
tree443c3c6af5795a2cef21fe14c77a30487854c772 /drivers/tty
parentdc96efb72054985c0912f831da009a2da4e9f6dd (diff)
downloadlinux-159a8e92fdf6967cb67e7639832f819fbc607242.tar.xz
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>
Diffstat (limited to 'drivers/tty')
-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;