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:46:40 +0000 (11:46 +0200)
commitc24fb5a30cd0330e47c95ad5e7f66e066879ce0f
tree4293b7e739f78a46c1dd4c4b914aebbaee6f9f11
parentb0eabe217548a1526ef5a43364bea4073a12db1a
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