ANSIfication patches

Thomas Dickey dickey at
Fri Feb 18 13:24:01 PST 2005

On Fri, Feb 18, 2005 at 04:20:55PM -0500, Adam Jackson wrote:
> There are a few patches sitting in bugzilla regarding converting old ugly 
> K&R-style code to ANSI:
> What are the issues to look out for here?  Can we pretty much assume that 
> non-API code is safe to convert and that the only dangerous areas would be 

mostly - but even non-API code has internal interfaces.

> (say) Xlib?  And how does the implicit argument passing convention for K&R 
> differ from ANSI?  (Probably assumes 32-bit width everywhere, which really 
> only matters for float/double...)

> I'd really like for gcc to never tell me "function declaration is not a 
> prototype" ever again.

Thomas E. Dickey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <>

More information about the xorg mailing list