Re: sys/dev/amr build error with Clang
On Aug 31, 2012, at 2:43 AM, Dimitry Andric <dimitry@andric.com> wrote:
> On 2012-08-31 09:34, deeptech71@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]
>=20
> The one call to get the callout to amr_periodic() started seems to =
have
> been commented out in r239912:
>=20
> =
http://svnweb.freebsd.org/base/head/sys/dev/amr/amr.c?r1=3D239912&r2=3D239=
911&pathrev=3D239912
>=20
> If the function isn't necessary anymore, it could just be deleted, or
> #ifdef'd out.
Fixed in r239939. Thanks for the report.
Scott
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 5 之 5 篇):