aubinator: replace pragma once with ifndef guard
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 11 Oct 2016 17:26:26 +0000 (18:26 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 10:53:45 +0000 (11:53 +0100)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Sirisha Gandikota<sirisha.gandikota@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/tools/decoder.h

index 739f194e3bd79cb8a7e8bb458ba7ace11415a393..bbeaa0ac831b54ed682ca84df7892a28989f1bde 100644 (file)
@@ -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 */