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>
Этот коммит содержится в:

коммит произвёл
Greg Kroah-Hartman

родитель
dc96efb720
Коммит
159a8e92fd
@@ -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;
|
||||
|
Ссылка в новой задаче
Block a user