On Wed, 13 Aug 2003, Warren Turkal wrote:

> Is there an effort to get rid of NeedFunctionPrototypes and to convert
> function prototypes to ANSI style? If so, I would like to work on doing
> this for the xwininfo binary.

   I change them whenever I'm working in particular parts of the
tree that haven't been converted yet, and so do a few other people.
I think we avoid wholesale changes across the board because of
the risk it imposes.  There have been some breakages when people
didn't pay enough attention and had the arguments reversed. eg:

int func(y, x)
   int x;
   int y;
{
   /* watch out! */
}

    So piecemeal changes seem safer.  People tend to go on autopilot
when making too many changes of this type in one sitting and have a tendency
to break the case above.  You can also introduce some promotion problems
if you're not careful.


                        Mark.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to