summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2018-02-19 15:18:09 +0000
committerAdam Jackson <ajax@redhat.com>2018-02-21 11:07:12 -0500
commitedc00e020310d8f53ebc16295c373fe84ec6ec87 (patch)
tree0b4c163f72d2c50db926cd79c6f26accc743cd67 /glx
parent7fc757986947ad89d76fc0fd3d69f5fdeefc9055 (diff)
glx: use C99 initializers for GlxServerExports
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glx')
-rw-r--r--glx/vndext.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/glx/vndext.c b/glx/vndext.c
index f593c499a..aeefd7519 100644
--- a/glx/vndext.c
+++ b/glx/vndext.c
@@ -277,26 +277,26 @@ GlxFreeServerImports(GlxServerImports *imports)
}
_X_EXPORT const GlxServerExports glxServer = {
- GLXSERVER_VENDOR_ABI_MAJOR_VERSION, // majorVersion
- GLXSERVER_VENDOR_ABI_MINOR_VERSION, // minorVersion
-
- &vndInitCallbackList,
-
- GlxAllocateServerImports, // allocateServerImports
- GlxFreeServerImports, // freeServerImports
-
- GlxCreateVendor, // createVendor
- GlxDestroyVendor, // destroyVendor
- GlxSetScreenVendor, // setScreenVendor
-
- GlxAddXIDMap, // addXIDMap
- GlxGetXIDMap, // getXIDMap
- GlxRemoveXIDMap, // removeXIDMap
- GlxGetContextTag, // getContextTag
- GlxSetContextTagPrivate, // setContextTagPrivate
- GlxGetContextTagPrivate, // getContextTagPrivate
- GlxGetVendorForScreen, // getVendorForScreen
- GlxForwardRequest, // forwardRequest
+ .majorVersion = GLXSERVER_VENDOR_ABI_MAJOR_VERSION,
+ .minorVersion = GLXSERVER_VENDOR_ABI_MINOR_VERSION,
+
+ .extensionInitCallback = &vndInitCallbackList,
+
+ .allocateServerImports = GlxAllocateServerImports,
+ .freeServerImports = GlxFreeServerImports,
+
+ .createVendor = GlxCreateVendor,
+ .destroyVendor = GlxDestroyVendor,
+ .setScreenVendor = GlxSetScreenVendor,
+
+ .addXIDMap = GlxAddXIDMap,
+ .getXIDMap = GlxGetXIDMap,
+ .removeXIDMap = GlxRemoveXIDMap,
+ .getContextTag = GlxGetContextTag,
+ .setContextTagPrivate = GlxSetContextTagPrivate,
+ .getContextTagPrivate = GlxGetContextTagPrivate,
+ .getVendorForScreen = GlxGetVendorForScreen,
+ .forwardRequest = GlxForwardRequest,
};
const GlxServerExports *