aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/pty.c
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2012-11-19 00:27:40 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 18:43:26 -0500
commit159a8e92fdf6967cb67e7639832f819fbc607242 (patch)
tree443c3c6af5795a2cef21fe14c77a30487854c772 /drivers/tty/pty.c
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>
Diffstat (limited to 'drivers/tty/pty.c')
-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,
277 * peform a terminal resize correctly 277 * peform a terminal resize correctly
278 */ 278 */
279 279
280int pty_resize(struct tty_struct *tty, struct winsize *ws) 280static int pty_resize(struct tty_struct *tty, struct winsize *ws)
281{ 281{
282 struct pid *pgrp, *rpgrp; 282 struct pid *pgrp, *rpgrp;
283 unsigned long flags; 283 unsigned long flags;