camcontrol WARNS6: take 5

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jan 11 05:30:09 PST 2005


On Mon, Jan 10, 2005 at 09:24:52PM -0800, Chris Pressey wrote:
> 2.  It seems GCC accepts
>        int foo(__unused int arg)
>     just as easily as
>        int foo(int arg __unused)
>     I've been using the first version, this patch uses the
>     second version, and style(9) is silent on the issue.
>     Does the DragonFly community have a preference?

int foo(int arg __unused)

The __unused is an optional "argument", it should go last.

Joerg





More information about the Submit mailing list