summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-10-11 18:26:26 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-10-14 11:53:45 +0100
commit13bf390657921b7c07d2de320ff0aa43206cce11 (patch)
tree3af78dd325cd131b74c8390ecdf9d1703bc31ba0 /src
parentae6fb9c92285539980dea4936cc45d1d20dc8da6 (diff)
downloadexternal_mesa3d-13bf390657921b7c07d2de320ff0aa43206cce11.zip
external_mesa3d-13bf390657921b7c07d2de320ff0aa43206cce11.tar.gz
external_mesa3d-13bf390657921b7c07d2de320ff0aa43206cce11.tar.bz2
aubinator: replace pragma once with ifndef guard
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Sirisha Gandikota<sirisha.gandikota@intel.com> Reviewed-by: Chad Versace <chadversary@chromium.org>
Diffstat (limited to 'src')
-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 739f194..bbeaa0a 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 */