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>
Mon, 30 May 2022 07:29:17 +0000 (09:29 +0200)
commit55729575eaa990f5881891b5a2b9c0fec0ec24ea
treec5d8963d9d498b0ba626928bd2114e217f236f3c
parentc6ae9d65bcdbb078f1c0befdcdd1d53805e44fe6
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