Re: [patch] cpufreq: do not declare undefined functions

From: Dave Jones
Date: Mon Apr 30 2007 - 14:52:58 EST


On Mon, Apr 30, 2007 at 11:42:44AM -0700, David Rientjes wrote:
> On Mon, 30 Apr 2007, Dave Jones wrote:
>
> > it's just a prototype, so no code is generated by declaring one
> > to an unused (or even non-existant) function.
> >
> > Or are you using some oddball compiler that warns about this?
> >
>
> If you consider gcc to be oddball, yes.

what version ? Mine doesn't seem to warn on that.

Dave

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/