summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_instr_set.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_instr_set.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_instr_set.h')
-rw-r--r--src/compiler/nir/nir_instr_set.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_instr_set.h b/src/compiler/nir/nir_instr_set.h
index 939e8ddbf58..26817f62e96 100644
--- a/src/compiler/nir/nir_instr_set.h
+++ b/src/compiler/nir/nir_instr_set.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef NIR_INSTR_SET_H
+#define NIR_INSTR_SET_H
#include "nir.h"
@@ -60,3 +61,4 @@ void nir_instr_set_remove(struct set *instr_set, nir_instr *instr);
/*@}*/
+#endif /* NIR_INSTR_SET_H */