Skip to content

Commit

Permalink
pty: Mark pty_resize static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Josh Triplett authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent dc96efb commit 159a8e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/pty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 159a8e9

Please sign in to comment.