bug-groff
[Top][All Lists]
Advanced

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

Re: groff: conflict with prototype arg name in getopt.h


From: Ralph Corderoy
Subject: Re: groff: conflict with prototype arg name in getopt.h
Date: 22 Apr 2001 12:00:28 +0100

Hi,

> I got the following response from Ulrich Drepper:
> 
>   That's crap.  We are not going to remove the parameter names.  This
>   is perfectly valid.

It's valid but generally considered bad practice because it increases
the chance of clashes with preprocessor macros.  Some libraries leave
the parameter names in place but comment them out.

    int foo(int /* bar */);

Personally, I think this is noisy and it's easiest to drop them all
together relying on the man page for documentation.


Ralph.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]