summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_constant_expressions.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-20 16:04:16 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:22 +0000
commite3de145fa26dadf43f6e14ed69aace6a550cd157 (patch)
treebcf03029cf37225e28a15e20617cdb701d545bcd /src/compiler/nir/nir_constant_expressions.h
parentb08aee305ea0caf5035932b26b8fc75782b49160 (diff)
nir: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]> Acked-by: Vedran Miletić <[email protected]> Acked-by: Juha-Pekka Heikkila <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_constant_expressions.h')
-rw-r--r--src/compiler/nir/nir_constant_expressions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_constant_expressions.h b/src/compiler/nir/nir_constant_expressions.h
index 201f278c71c..1d6bbbc25d3 100644
--- a/src/compiler/nir/nir_constant_expressions.h
+++ b/src/compiler/nir/nir_constant_expressions.h
@@ -25,7 +25,12 @@
*
*/
+#ifndef NIR_CONSTANT_EXPRESSIONS_H
+#define NIR_CONSTANT_EXPRESSIONS_H
+
#include "nir.h"
nir_const_value nir_eval_const_opcode(nir_op op, unsigned num_components,
unsigned bit_size, nir_const_value *src);
+
+#endif /* NIR_CONSTANT_EXPRESSIONS_H */