]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
random: remove extern from functions in header
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 13 May 2022 10:29:38 +0000 (12:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2022 09:45:15 +0000 (11:45 +0200)
commit9bb0c18aeff8dcbc64fb143cf7836f17a8f8dc8d
treef8ed8eea1a1f8d4f1e41985da5fe9b965a1fc402
parent6de752dc0f557cf08a015f50f78ca3f76d9c86e6
random: remove extern from functions in header

commit 7782cfeca7d420e8bb707613d4cfb0f7ff29bb3a upstream.

Accoriding to the kernel style guide, having `extern` on functions in
headers is old school and deprecated, and doesn't add anything. So remove
them from random.h, and tidy up the file a little bit too.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/random.h