libX11: fixing public headers?

Tilman Sauerbeck tilman at code-monkey.de
Sun Apr 1 02:50:59 PDT 2007


Hi,
I recently filed and fixed this bug against libX11:
https://bugs.freedesktop.org/show_bug.cgi?id=10475
libX11 mixes up char* vs const char* in a lot of places.

Some of these errors affect the public header Xlib.h, too (it's the
first two chunks of the diff). I changed char* to const char* in two
places.

What does everyone think about adding "const" there?
Can/should we do that?

Thanks,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20070401/43c9d031/attachment.pgp>


More information about the xorg mailing list