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 1ccd0df95370e5bfd7e10e4e92ac21e29836e660..5b0dff6aa19f20d30da3a4ed22adc52d3f41b936 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 0126bcb67c8f5b7ebc0e1954108502e59db5550c..e1a53d20db2b7af4592ccf158d5b32ed6fc4620e 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,