glsl: mark link_uniform_blocks_are_compatible() as static
authorTimothy Arceri <timothy.arceri@collabora.com>
Sat, 2 Jul 2016 03:36:09 +0000 (13:36 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 5 Jul 2016 10:18:05 +0000 (20:18 +1000)
Missed this when doing 6d1a59d15b.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/compiler/glsl/link_uniform_blocks.cpp
src/compiler/glsl/linker.h

index 1ccd0df..5b0dff6 100644 (file)
@@ -469,7 +469,7 @@ link_uniform_blocks(void *mem_ctx,
    _mesa_hash_table_destroy(block_hash, NULL);
 }
 
-bool
+static bool
 link_uniform_blocks_are_compatible(const gl_uniform_block *a,
                                    const gl_uniform_block *b)
 {
index 0126bcb..e1a53d2 100644 (file)
@@ -49,10 +49,6 @@ link_cross_validate_uniform_block(void *mem_ctx,
                                  unsigned int *num_linked_blocks,
                                  struct gl_uniform_block *new_block);
 
-extern bool
-link_uniform_blocks_are_compatible(const gl_uniform_block *a,
-                                  const gl_uniform_block *b);
-
 extern void
 link_uniform_blocks(void *mem_ctx,
                     struct gl_context *ctx,