Subject: Re: change in kernel compilation parameters?
To: None <firstname.lastname@example.org>
From: Christian Biere <email@example.com>
Date: 10/13/2006 16:50:03
Steven M. Bellovin wrote:
> /usr/src/sys/net/if_null.c: In function 'ifnullattach':
> /usr/src/sys/net/if_null.c:113: warning: unused parameter 'count'
> /* ARGSUSED */
> int count;
> It seems that /* ARGSUSED */ is no longer being honored here.
That's for lint, not GCC.
> What is the proper way to handle this now, and why was the change made?
I use "(void) unused_count;" because it works everywhere and nobody
would use a variable called unused_something. So it's never accidently
declared "unused" or used. ARGSUSED or __unused strike me as STFU-devices.