|
@@ -155,6 +155,7 @@ int tty_ioctl(struct inode * inode, struct file * file,
|
|
|
unsigned int cmd, unsigned long arg);
|
|
|
static int tty_fasync(int fd, struct file * filp, int on);
|
|
|
static void release_tty(struct tty_struct *tty, int idx);
|
|
|
+static void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty);
|
|
|
|
|
|
/**
|
|
|
* alloc_tty_struct - allocate a tty object
|
|
@@ -3791,7 +3792,7 @@ void proc_clear_tty(struct task_struct *p)
|
|
|
}
|
|
|
EXPORT_SYMBOL(proc_clear_tty);
|
|
|
|
|
|
-void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty)
|
|
|
+static void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty)
|
|
|
{
|
|
|
if (tty) {
|
|
|
tty->session = process_session(tsk);
|