summaryrefslogtreecommitdiffstats
path: root/src/intel/tools
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-10-11 18:26:26 +0100
committerEmil Velikov <[email protected]>2016-10-14 11:53:45 +0100
commit13bf390657921b7c07d2de320ff0aa43206cce11 (patch)
tree3af78dd325cd131b74c8390ecdf9d1703bc31ba0 /src/intel/tools
parentae6fb9c92285539980dea4936cc45d1d20dc8da6 (diff)
aubinator: replace pragma once with ifndef guard
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Sirisha Gandikota<[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/tools')
-rw-r--r--src/intel/tools/decoder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/tools/decoder.h b/src/intel/tools/decoder.h
index 739f194e3bd..bbeaa0ac831 100644
--- a/src/intel/tools/decoder.h
+++ b/src/intel/tools/decoder.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef DECODER_H
+#define DECODER_H
#include <stdint.h>
#include <stdbool.h>
@@ -103,3 +104,5 @@ void gen_field_iterator_init(struct gen_field_iterator *iter,
struct gen_group *group, const uint32_t *p);
bool gen_field_iterator_next(struct gen_field_iterator *iter);
+
+#endif /* DECODER_H */