Module: Mesa Branch: master Commit: 60454a4e990e2469846cfa07cf495a4bf5751207 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=60454a4e990e2469846cfa07cf495a4bf5751207
Author: Jesse Natalie <jenat...@microsoft.com> Date: Wed Nov 18 18:19:13 2020 -0800 gallium: Remove unnecessary forward declaration of swrast_driver_descriptor MSVC complains that the definition has __declspec(dllexport) but the forward declaration doesn't. I can't find any users of this decl in the header. Reviewed-by: Francisco Jerez <curroje...@riseup.net> Reviewed-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7680> --- src/gallium/include/frontend/sw_driver.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/include/frontend/sw_driver.h b/src/gallium/include/frontend/sw_driver.h index 1d59bd5fe56..ca335556311 100644 --- a/src/gallium/include/frontend/sw_driver.h +++ b/src/gallium/include/frontend/sw_driver.h @@ -16,6 +16,4 @@ struct sw_driver_descriptor } winsys[]; }; -extern const struct sw_driver_descriptor swrast_driver_descriptor; - #endif _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit