* [PATCH] dib0090: cleanup dib0090_dcc_freq()
@ 2010-01-16 17:35 Németh Márton
0 siblings, 0 replies; only message in thread
From: Németh Márton @ 2010-01-16 17:35 UTC (permalink / raw)
To: Patrick Boettcher, Olivier Grenie; +Cc: V4L Mailing List
From: Márton Németh <nm127@freemail.hu>
'extern' is not needed at function definition.
This will remove the following sparse warning (see "make C=1"):
* function 'dib0090_dcc_freq' with external linkage has definition
Signed-off-by: Márton Németh <nm127@freemail.hu>
---
diff -r 5bcdcc072b6d linux/drivers/media/dvb/frontends/dib0090.c
--- a/linux/drivers/media/dvb/frontends/dib0090.c Sat Jan 16 07:25:43 2010 +0100
+++ b/linux/drivers/media/dvb/frontends/dib0090.c Sat Jan 16 18:33:43 2010 +0100
@@ -283,7 +283,7 @@
return 0;
}
-extern void dib0090_dcc_freq(struct dvb_frontend *fe, u8 fast)
+void dib0090_dcc_freq(struct dvb_frontend *fe, u8 fast)
{
struct dib0090_state *state = fe->tuner_priv;
if (fast)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-16 17:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-16 17:35 [PATCH] dib0090: cleanup dib0090_dcc_freq() Németh Márton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.