]> www.infradead.org Git - users/dwmw2/linux.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>
Mon, 30 May 2022 07:24:08 +0000 (09:24 +0200)
commit4df97cbda270c1254fd866a9ec80bbd4bab868a8
treec5ad7276192ed8537a12abfba5b429f9f2c396a5
parent05daffcd83dae217daedfa17577bbf8dc91f48fd
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