On Sat, 1 Feb 2003, Mark Murray wrote:
> 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.
> 
> 2 ways to fix this are to "protect" the prototype argument names with the
> "_", or to remove the argument name altogether.

I'd rather have the names removed altogether.

-- 
Dan Eischen


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

Reply via email to