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

Keith Packard keithp at keithp.com
Tue Dec 23 20:37:41 PST 2014


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

> Use typedefs to work around dtrace dropping const qualifiers from probe
> arguments when generating Xserver-dtrace.h.   Add new probes.h header to
> avoid having to replicate these typedefs in every file with dtrace
> probes.

Yeah, this looks fine. Do you  want to stick probes.h in include instead
of dix so you don't have a relative include in os/connection.c? I'm
easy, it's just a suggestion.

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
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/20141223/2deda788/attachment.sig>


More information about the xorg-devel mailing list