:Julian Elischer writes:
:> I don't know about the protection with a '_'.
:> 
:> It's not standard and usually the name matches that used in the actual
:> function.
:
:When the prototype parameter name matches a local variable, the C compiler
:(and lint) whine about clashes between names in local/global namespace.

    I've never in my life heard of this behavior before, what compiler
    arguments reproduce it?

:2 ways to fix this are to "protect" the prototype argument names with the
:"_", or to remove the argument name altogether.

    If it is a problem, why not simply use the same variable names that are
    declared in the procedure proper?  The underscore looks ugly and out of
    place and doesn't make that much sense to me.

                                                        -Matt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to