diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2018-02-19 15:18:09 +0000 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-02-21 11:07:12 -0500 |
commit | edc00e020310d8f53ebc16295c373fe84ec6ec87 (patch) | |
tree | 0b4c163f72d2c50db926cd79c6f26accc743cd67 /glx | |
parent | 7fc757986947ad89d76fc0fd3d69f5fdeefc9055 (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.c | 40 |
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 * |