summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2018-11-10 13:12:13 -0800
committerThomas Hellstrom <thellstrom@vmware.com>2018-11-12 13:35:21 +0100
commit71c85a70f1c5ff93e931181d0858af22cba231ec (patch)
tree3f7d497d6c2f1dbcbb76353b6d05882438b51d65
parenta5815ba3eba0b222e8082a2e868d68cdc6993d5e (diff)
Remove obsolete B16 & B32 tags in struct definitions
They were defined as empty strings on all platforms except for the long unsupported Cray systems which needed to use bitfields to define any type smaller than 64-bits. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
-rw-r--r--src/vmwarectrlproto.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/src/vmwarectrlproto.h b/src/vmwarectrlproto.h
index 76f157f..e5e1bf9 100644
--- a/src/vmwarectrlproto.h
+++ b/src/vmwarectrlproto.h
@@ -49,47 +49,47 @@
typedef struct {
CARD8 reqType; /* always X_VMwareCtrlReqCode */
CARD8 VMwareCtrlReqType; /* always X_VMwareCtrlQueryVersion */
- CARD16 length B16;
- CARD32 majorVersion B32;
- CARD32 minorVersion B32;
+ CARD16 length;
+ CARD32 majorVersion;
+ CARD32 minorVersion;
} xVMwareCtrlQueryVersionReq;
#define sz_xVMwareCtrlQueryVersionReq 12
typedef struct {
BYTE type; /* X_Reply */
BYTE pad1;
- CARD16 sequenceNumber B16;
- CARD32 length B32;
- CARD32 majorVersion B32;
- CARD32 minorVersion B32;
- CARD32 pad2 B32;
- CARD32 pad3 B32;
- CARD32 pad4 B32;
- CARD32 pad5 B32;
+ CARD16 sequenceNumber;
+ CARD32 length;
+ CARD32 majorVersion;
+ CARD32 minorVersion;
+ CARD32 pad2;
+ CARD32 pad3;
+ CARD32 pad4;
+ CARD32 pad5;
} xVMwareCtrlQueryVersionReply;
#define sz_xVMwareCtrlQueryVersionReply 32
typedef struct {
CARD8 reqType; /* always X_VMwareCtrlReqCode */
CARD8 VMwareCtrlReqType; /* always X_VMwareCtrlSetRes */
- CARD16 length B16;
- CARD32 screen B32;
- CARD32 x B32;
- CARD32 y B32;
+ CARD16 length;
+ CARD32 screen;
+ CARD32 x;
+ CARD32 y;
} xVMwareCtrlSetResReq;
#define sz_xVMwareCtrlSetResReq 16
typedef struct {
BYTE type; /* X_Reply */
BYTE pad1;
- CARD16 sequenceNumber B16;
- CARD32 length B32;
- CARD32 screen B32;
- CARD32 x B32;
- CARD32 y B32;
- CARD32 pad2 B32;
- CARD32 pad3 B32;
- CARD32 pad4 B32;
+ CARD16 sequenceNumber;
+ CARD32 length;
+ CARD32 screen;
+ CARD32 x;
+ CARD32 y;
+ CARD32 pad2;
+ CARD32 pad3;
+ CARD32 pad4;
} xVMwareCtrlSetResReply;
#define sz_xVMwareCtrlSetResReply 32
@@ -98,24 +98,24 @@ typedef struct {
typedef struct {
CARD8 reqType; /* always X_VMwareCtrlReqCode */
CARD8 VMwareCtrlReqType; /* always X_VMwareCtrlSetTopology */
- CARD16 length B16;
- CARD32 screen B32;
- CARD32 number B32;
- CARD32 pad1 B32;
+ CARD16 length;
+ CARD32 screen;
+ CARD32 number;
+ CARD32 pad1;
} xVMwareCtrlSetTopologyReq;
#define sz_xVMwareCtrlSetTopologyReq 16
typedef struct {
BYTE type; /* X_Reply */
BYTE pad1;
- CARD16 sequenceNumber B16;
- CARD32 length B32;
- CARD32 screen B32;
- CARD32 pad2 B32;
- CARD32 pad3 B32;
- CARD32 pad4 B32;
- CARD32 pad5 B32;
- CARD32 pad6 B32;
+ CARD16 sequenceNumber;
+ CARD32 length;
+ CARD32 screen;
+ CARD32 pad2;
+ CARD32 pad3;
+ CARD32 pad4;
+ CARD32 pad5;
+ CARD32 pad6;
} xVMwareCtrlSetTopologyReply;
#define sz_xVMwareCtrlSetTopologyReply 32