Mesa (master): gallium: Remove unnecessary forward declaration of swrast_driver_descriptor
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Dec 2 18:52:48 UTC 2020
Module: Mesa
Branch: master
Commit: 60454a4e990e2469846cfa07cf495a4bf5751207
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=60454a4e990e2469846cfa07cf495a4bf5751207
Author: Jesse Natalie <jenatali at 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 <currojerez at riseup.net>
Reviewed-by: Karol Herbst <kherbst at 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
More information about the mesa-commit
mailing list