[xkb] Rename type, sequence, and length
authorPeter Harris <pharris@opentext.com>
Wed, 20 Oct 2010 16:05:37 +0000 (12:05 -0400)
committerPeter Harris <pharris@opentext.com>
Wed, 20 Oct 2010 16:07:27 +0000 (12:07 -0400)
These fields are already defined by the protocol. Rename them to avoid
potential name collisions.

Signed-off-by: Peter Harris <pharris@opentext.com>
src/xkb.xml

index 760d3f0..157df45 100644 (file)
@@ -1984,12 +1984,12 @@ authorization from the authors.
                                <bitcase name="types">
                                        <enumref ref="GBNDetail">Types</enumref>
                                        <!-- from the spec, this has to be a GetMap reply -->
-                                       <field name="type" type="CARD8" />
+                                       <field name="getmap_type" type="CARD8" />
                                        <!-- done 'emulating' GetMap reply header-->
                                        <field name="typeDeviceID" type="CARD8" />
                                        <!-- from the spec, this has to be a GetMap reply -->
-                                       <field name="sequence" type="CARD16" />
-                                       <field name="length" type="CARD32" />
+                                       <field name="getmap_sequence" type="CARD16" />
+                                       <field name="getmap_length" type="CARD32" />
                                        <!-- done 'emulating' GetMap reply header-->
                                        <pad bytes="2" />
                                        <field name="typeMinKeyCode" type="KEYCODE" />