diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-10-16 20:59:48 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-06 01:26:14 +0100 |
commit | e1c2296c3485158304bfad5a80e89078463d70c8 (patch) | |
tree | 98103d2003b9b478c60b8a546e4917880e2150e3 /include | |
parent | tty: Fix multiple races when setting the controlling terminal (diff) | |
download | linux-e1c2296c3485158304bfad5a80e89078463d70c8.tar.xz linux-e1c2296c3485158304bfad5a80e89078463d70c8.zip |
tty: Move session_of_pgrp() and make static
tiocspgrp() is the lone caller of session_of_pgrp(); relocate and
limit to file scope.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kernel.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 3d770f5564b8..01bc530fbfcb 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -411,9 +411,6 @@ extern int __kernel_text_address(unsigned long addr); extern int kernel_text_address(unsigned long addr); extern int func_ptr_is_kernel_text(void *ptr); -struct pid; -extern struct pid *session_of_pgrp(struct pid *pgrp); - unsigned long int_sqrt(unsigned long); extern void bust_spinlocks(int yes); |