[PATCH 1/2] Share enum definition for det_monrec_parameter sync_source

Adam Jackson ajax at nwnk.net
Thu Feb 25 12:08:54 PST 2010


On Thu, 2010-02-25 at 11:39 -0800, Keith Packard wrote:
> There were two separate enum definitions, one inside
> det_monrec_parameter struct and one for a local variable (which was then
> stored inside the struct). Sharing a single definition makes the
> code more obviously correct while making the compiler happier.
> 
> Signed-off-by: Keith Packard <keithp at keithp.com>

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100225/9f99b13d/attachment.pgp>


More information about the xorg-devel mailing list