summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_instr_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir_instr_set.c')
-rw-r--r--src/glsl/nir/nir_instr_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_instr_set.c b/src/glsl/nir/nir_instr_set.c
index 7460fccba10..7886003fe35 100644
--- a/src/glsl/nir/nir_instr_set.c
+++ b/src/glsl/nir/nir_instr_set.c
@@ -247,7 +247,7 @@ nir_alu_srcs_equal(const nir_alu_instr *alu1, const nir_alu_instr *alu2,
* the same hash for (ignoring collisions, of course).
*/
-bool
+static bool
nir_instrs_equal(const nir_instr *instr1, const nir_instr *instr2)
{
if (instr1->type != instr2->type)