Usage of ANSI-C |const| in X11 code...

Paul Vojta vojta at Math.Berkeley.EDU
Fri Mar 11 11:00:22 PST 2005


On Fri, Mar 11, 2005 at 05:54:17PM +0100, Roland Mainz wrote:
> 
> Are there still any problems which forbids code to use the ANSI-C
> |const| modifer ? Looking at the code lots of places could employ the
> |const| keyword to save some memory at runtime...
> ... if there aren't any problems left (AFAIK the tree now requires at
> least C89 which includes |const| support) then I'd like to do some
> cleanup...

X has been using _Xconst for a long time...

--Paul Vojta, vojta at math.berkeley.edu



More information about the xorg mailing list