Re: sys/dev/amr build error with Clang

From: Scott Long <scottl_at_samsco.org>
Date: Fri, 31 Aug 2012 03:44:52 -0600
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
Received on Fri Aug 31 2012 - 07:45:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC