From: Stephen Hemminger Date: Wed, 11 Jan 2006 20:17:38 +0000 (-0800) Subject: [PATCH] random: get rid of sparse warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d251575ab60ca2b5337574bfaf8f8b583f18059e;p=linux-beck.git [PATCH] random: get rid of sparse warning Get rid of bogus extern attribute that causes sparse warning. Signed-off-by: Stephen Hemminger Acked-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/random.c b/drivers/char/random.c index bdfdfd28594d..86be04b241e1 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -632,7 +632,7 @@ out: preempt_enable(); } -extern void add_input_randomness(unsigned int type, unsigned int code, +void add_input_randomness(unsigned int type, unsigned int code, unsigned int value) { static unsigned char last_value;