summaryrefslogtreecommitdiffstats
path: root/src/glsl/link_uniform_blocks.cpp
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-12-29 21:02:55 +1100
committerTimothy Arceri <[email protected]>2015-12-30 11:51:58 +1100
commit2c1a215409e6d5b3bc95854e17da2412a978e0c9 (patch)
treed244d15ea5438f50a0e84a15d4cf90d36b7a72ec /src/glsl/link_uniform_blocks.cpp
parentc704b89fe49dd3f80ff0028bece93ea45b651987 (diff)
glsl/linker: annotate static functions as such
Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/glsl/link_uniform_blocks.cpp')
-rw-r--r--src/glsl/link_uniform_blocks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/link_uniform_blocks.cpp b/src/glsl/link_uniform_blocks.cpp
index d5d30bb0a0d..7d755765852 100644
--- a/src/glsl/link_uniform_blocks.cpp
+++ b/src/glsl/link_uniform_blocks.cpp
@@ -266,7 +266,7 @@ process_block_array(struct uniform_block_array_elements *ub_array, char **name,
/* This function resizes the array types of the block so that later we can use
* this new size to correctly calculate the offest for indirect indexing.
*/
-const glsl_type *
+static const glsl_type *
resize_block_array(const glsl_type *type,
struct uniform_block_array_elements *ub_array)
{