Mesa (master): nouveau/nvc0: add extern keyword to nvc0_miptree_vtbl.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jan 21 16:52:16 UTC 2020


Module: Mesa
Branch: master
Commit: 28eb481bc2156ccc07c106ab517c2a3a42a53de1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28eb481bc2156ccc07c106ab517c2a3a42a53de1

Author: Timur Kristóf <timur.kristof at gmail.com>
Date:   Tue Jan 21 17:11:22 2020 +0100

nouveau/nvc0: add extern keyword to nvc0_miptree_vtbl.

Signed-off-by: Timur Kristóf <timur.kristof at gmail.com>
Reviewed-by: Karol Herbst <kherbst at redhat.com>

---

 src/gallium/drivers/nouveau/nvc0/nvc0_resource.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_resource.h b/src/gallium/drivers/nouveau/nvc0/nvc0_resource.h
index b24fca004ca..78a1d79261e 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_resource.h
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_resource.h
@@ -38,7 +38,7 @@ nvc0_miptree_create(struct pipe_screen *pscreen,
                     const struct pipe_resource *tmp,
                     const uint64_t *modifiers, unsigned int count);
 
-const struct u_resource_vtbl nvc0_miptree_vtbl;
+extern const struct u_resource_vtbl nvc0_miptree_vtbl;
 
 struct pipe_surface *
 nvc0_miptree_surface_new(struct pipe_context *,



More information about the mesa-commit mailing list