diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-03-19 13:32:38 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-03-19 13:47:03 -0700 |
commit | 9fa55c4115ec09b983cca936fc1fbf7039d64389 (patch) | |
tree | dc8ea29875cddfe815bf2d263281647757638f7b /include | |
parent | cf35a91fe57d4721a173d2bc428dd07dcc4674f9 (diff) |
XvMCproto.h: remove ; from the end of sz_* definitions
Fixes compiler errors of "unexpected ';' before ')'" when calling
the SIZEOF macro on XvMC requests.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/extensions/XvMCproto.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/X11/extensions/XvMCproto.h b/include/X11/extensions/XvMCproto.h index 2fa27b2..d3b0171 100644 --- a/include/X11/extensions/XvMCproto.h +++ b/include/X11/extensions/XvMCproto.h @@ -27,14 +27,14 @@ typedef struct { CARD32 mc_type; CARD32 flags; } xvmcSurfaceInfo; -#define sz_xvmcSurfaceInfo 24; +#define sz_xvmcSurfaceInfo 24 typedef struct { CARD8 reqType; CARD8 xvmcReqType; CARD16 length; } xvmcQueryVersionReq; -#define sz_xvmcQueryVersionReq 4; +#define sz_xvmcQueryVersionReq 4 typedef struct { BYTE type; /* X_Reply */ @@ -56,7 +56,7 @@ typedef struct { CARD16 length; CARD32 port; } xvmcListSurfaceTypesReq; -#define sz_xvmcListSurfaceTypesReq 8; +#define sz_xvmcListSurfaceTypesReq 8 typedef struct { BYTE type; /* X_Reply */ @@ -83,7 +83,7 @@ typedef struct { CARD16 height; CARD32 flags; } xvmcCreateContextReq; -#define sz_xvmcCreateContextReq 24; +#define sz_xvmcCreateContextReq 24 typedef struct { BYTE type; /* X_Reply */ @@ -106,7 +106,7 @@ typedef struct { CARD16 length; CARD32 context_id; } xvmcDestroyContextReq; -#define sz_xvmcDestroyContextReq 8; +#define sz_xvmcDestroyContextReq 8 typedef struct { CARD8 reqType; @@ -115,7 +115,7 @@ typedef struct { CARD32 surface_id; CARD32 context_id; } xvmcCreateSurfaceReq; -#define sz_xvmcCreateSurfaceReq 12; +#define sz_xvmcCreateSurfaceReq 12 typedef struct { BYTE type; /* X_Reply */ @@ -137,7 +137,7 @@ typedef struct { CARD16 length; CARD32 surface_id; } xvmcDestroySurfaceReq; -#define sz_xvmcDestroySurfaceReq 8; +#define sz_xvmcDestroySurfaceReq 8 typedef struct { @@ -150,7 +150,7 @@ typedef struct { CARD16 width; CARD16 height; } xvmcCreateSubpictureReq; -#define sz_xvmcCreateSubpictureReq 20; +#define sz_xvmcCreateSubpictureReq 20 typedef struct { BYTE type; /* X_Reply */ @@ -174,7 +174,7 @@ typedef struct { CARD16 length; CARD32 subpicture_id; } xvmcDestroySubpictureReq; -#define sz_xvmcDestroySubpictureReq 8; +#define sz_xvmcDestroySubpictureReq 8 typedef struct { CARD8 reqType; @@ -183,7 +183,7 @@ typedef struct { CARD32 port; CARD32 surface_type_id; } xvmcListSubpictureTypesReq; -#define sz_xvmcListSubpictureTypesReq 12; +#define sz_xvmcListSubpictureTypesReq 12 typedef struct { BYTE type; /* X_Reply */ @@ -207,7 +207,7 @@ typedef struct { CARD32 shmKey; CARD32 magic; } xvmcGetDRInfoReq; -#define sz_xvmcGetDRInfoReq 16; +#define sz_xvmcGetDRInfoReq 16 typedef struct { BYTE type; /* X_Reply */ |