[PATCH 3/3] Get rid of const warnings in XSERVER_INPUT_EVENT dtrace probe calls

Keith Packard keithp at keithp.com
Fri Dec 19 18:15:39 PST 2014


Alan Coopersmith <alan.coopersmith at oracle.com> writes:

> dtrace generates these as taking non const arguments, so cast away
> the constness of the pointers when calling them.

I really don't like casting away const. I note that Xserver-dtrace.h.in
is in git, so you could (?) add the const there instead?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141219/8c1628af/attachment.sig>


More information about the xorg-devel mailing list