gallium: Fix a couple of multiple definition warnings.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 21 Jan 2020 15:12:16 +0000 (16:12 +0100)
committerTimur Kristóf <timur.kristof@gmail.com>
Wed, 22 Jan 2020 08:36:25 +0000 (09:36 +0100)
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3488>

src/gallium/auxiliary/target-helpers/drm_helper_public.h

index 82dfe9e257552fa8f3d2cad975138255ce2aecaf..ab0fc8d1b1a4039d6254b9c331441b54aaa630b5 100644 (file)
@@ -4,10 +4,10 @@
 struct pipe_screen;
 struct pipe_screen_config;
 
-const char *iris_driconf_xml;
-const char *radeonsi_driconf_xml;
-const char *v3d_driconf_xml;
-const char *virgl_driconf_xml;
+extern const char *iris_driconf_xml;
+extern const char *radeonsi_driconf_xml;
+extern const char *v3d_driconf_xml;
+extern const char *virgl_driconf_xml;
 
 struct pipe_screen *
 pipe_i915_create_screen(int fd, const struct pipe_screen_config *config);