nouveau/nvc0: add extern keyword to nvc0_miptree_vtbl.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 21 Jan 2020 16:11:22 +0000 (17:11 +0100)
committerTimur Kristóf <timur.kristof@gmail.com>
Tue, 21 Jan 2020 16:36:36 +0000 (17:36 +0100)
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/nvc0/nvc0_resource.h

index b24fca004cada893bd3a3e6857c4cc4095c7ea15..78a1d79261ea4c972e74207f77680db1d80a3a28 100644 (file)
@@ -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 *,