sys/dev/amr build error with Clang
Scott Long
scottl at samsco.org
Fri Aug 31 09:45:00 UTC 2012
On Aug 31, 2012, at 2:43 AM, Dimitry Andric <dimitry at andric.com> wrote:
> On 2012-08-31 09:34, deeptech71 at gmail.com wrote:
>> /usr/src/sys/modules/amr/../../dev/amr/amr.c:970:1: error: function
>> 'amr_periodic' is not needed and will not be emitted
>> [-Werror,-Wunneeded-internal-declaration]
>
> The one call to get the callout to amr_periodic() started seems to have
> been commented out in r239912:
>
> http://svnweb.freebsd.org/base/head/sys/dev/amr/amr.c?r1=239912&r2=239911&pathrev=239912
>
> If the function isn't necessary anymore, it could just be deleted, or
> #ifdef'd out.
Fixed in r239939. Thanks for the report.
Scott
More information about the freebsd-current
mailing list