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>
This commit is contained in:
parent
dc96efb720
commit
159a8e92fd
|
@ -277,7 +277,7 @@ static void pty_set_termios(struct tty_struct *tty,
|
||||||
* peform a terminal resize correctly
|
* 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;
|
struct pid *pgrp, *rpgrp;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
Loading…
Reference in New Issue