]> git.baikalelectronics.ru Git - kernel.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:29:17 +0000 (09:29 +0200)
commit81b933c3cb9f71aa833b36333702919889097fb6
treec5d8963d9d498b0ba626928bd2114e217f236f3c
parentb07005bdafe2882a9d1ff9e636ff72fb634a38d0
random: remove extern from functions in header

commit 98a952899490a76044ffb9409b20d99119007a52 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