summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-01-11 20:17:38 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 02:42:11 (GMT)
commitd251575ab60ca2b5337574bfaf8f8b583f18059e (patch)
tree8bd9b2a920d01db2cbd770a712657a0a81723007
parent8c174af880d02f29599178284bb43f8d4f0fdcd8 (diff)
downloadlinux-d251575ab60ca2b5337574bfaf8f8b583f18059e.tar.xz
[PATCH] random: get rid of sparse warning
Get rid of bogus extern attribute that causes sparse warning. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/char/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index bdfdfd2..86be04b 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;