glx: use C99 initializers for GlxServerExports

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Emil Velikov 2018-02-19 15:18:09 +00:00 committed by Adam Jackson
parent 7fc7579869
commit edc00e0203

View File

@ -277,26 +277,26 @@ GlxFreeServerImports(GlxServerImports *imports)
} }
_X_EXPORT const GlxServerExports glxServer = { _X_EXPORT const GlxServerExports glxServer = {
GLXSERVER_VENDOR_ABI_MAJOR_VERSION, // majorVersion .majorVersion = GLXSERVER_VENDOR_ABI_MAJOR_VERSION,
GLXSERVER_VENDOR_ABI_MINOR_VERSION, // minorVersion .minorVersion = GLXSERVER_VENDOR_ABI_MINOR_VERSION,
&vndInitCallbackList, .extensionInitCallback = &vndInitCallbackList,
GlxAllocateServerImports, // allocateServerImports .allocateServerImports = GlxAllocateServerImports,
GlxFreeServerImports, // freeServerImports .freeServerImports = GlxFreeServerImports,
GlxCreateVendor, // createVendor .createVendor = GlxCreateVendor,
GlxDestroyVendor, // destroyVendor .destroyVendor = GlxDestroyVendor,
GlxSetScreenVendor, // setScreenVendor .setScreenVendor = GlxSetScreenVendor,
GlxAddXIDMap, // addXIDMap .addXIDMap = GlxAddXIDMap,
GlxGetXIDMap, // getXIDMap .getXIDMap = GlxGetXIDMap,
GlxRemoveXIDMap, // removeXIDMap .removeXIDMap = GlxRemoveXIDMap,
GlxGetContextTag, // getContextTag .getContextTag = GlxGetContextTag,
GlxSetContextTagPrivate, // setContextTagPrivate .setContextTagPrivate = GlxSetContextTagPrivate,
GlxGetContextTagPrivate, // getContextTagPrivate .getContextTagPrivate = GlxGetContextTagPrivate,
GlxGetVendorForScreen, // getVendorForScreen .getVendorForScreen = GlxGetVendorForScreen,
GlxForwardRequest, // forwardRequest .forwardRequest = GlxForwardRequest,
}; };
const GlxServerExports * const GlxServerExports *