tty: Make tty_paranoia_check() file scope
tty_paranoia_check() is only used within drivers/tty/tty_io.c; remove extern declaration in header and limit symbol to file scope. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
998b4a4571
commit
82b8f888e9
@@ -256,7 +256,7 @@ const char *tty_name(const struct tty_struct *tty)
|
||||
|
||||
EXPORT_SYMBOL(tty_name);
|
||||
|
||||
int tty_paranoia_check(struct tty_struct *tty, struct inode *inode,
|
||||
static int tty_paranoia_check(struct tty_struct *tty, struct inode *inode,
|
||||
const char *routine)
|
||||
{
|
||||
#ifdef TTY_PARANOIA_CHECK
|
||||
|
Reference in New Issue
Block a user