瀏覽代碼

tty: tty_vhangup_session can be static

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Peter Hurley <peter@hurleysoftware.com>

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Changlong Xie 12 年之前
父節點
當前提交
44a459fd83
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/tty/tty_io.c

+ 1 - 1
drivers/tty/tty_io.c

@@ -777,7 +777,7 @@ void tty_vhangup_self(void)
  *	is complete. That guarantee is necessary for security reasons.
  */
 
-void tty_vhangup_session(struct tty_struct *tty)
+static void tty_vhangup_session(struct tty_struct *tty)
 {
 #ifdef TTY_DEBUG_HANGUP
 	char	buf[64];