DragonFly BSD
DragonFly submit List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: camcontrol WARNS6: take 5


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 11 Jan 2005 14:28:56 +0100
Mail-followup-to: submit@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]