tty: audit: move some local functions out of tty.h
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Apr 2021 12:51:29 +0000 (14:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Apr 2021 08:24:58 +0000 (10:24 +0200)
commitda5d669e00d2c437b3f508d60add417fc74f4bb6
tree0b81223bd34c121a64b7f8a288e5ff10798be9b5
parent4d5a64cbc7add9e2697080c6bb78f961e9bbd2c3
tty: audit: move some local functions out of tty.h

The functions tty_audit_add_data() and tty_audit_tiocsti() are local to
the tty core code, and do not need to be in a "kernel-wide" header file
so move them to drivers/tty/tty.h

Cc: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20210408125134.3016837-9-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty.h
drivers/tty/tty_audit.c
include/linux/tty.h