summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_binary.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-20 16:04:04 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:21 +0000
commit95ab07c586884699df0bbdf9a0bc9acd8c626c8b (patch)
treed2e5d954b7acec243f642b1b5edaeef9aa9c72d0 /src/amd/common/ac_binary.h
parent3b277bae66f23997860637f9f80c41a3f247dc5b (diff)
ac: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Marek Olšák <[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/amd/common/ac_binary.h')
-rw-r--r--src/amd/common/ac_binary.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/amd/common/ac_binary.h b/src/amd/common/ac_binary.h
index 0ece9297253..a784a7220cc 100644
--- a/src/amd/common/ac_binary.h
+++ b/src/amd/common/ac_binary.h
@@ -24,7 +24,8 @@
*
*/
-#pragma once
+#ifndef AC_BINARY_H
+#define AC_BINARY_H
#include <stdint.h>
#include <stdbool.h>
@@ -97,3 +98,5 @@ void ac_shader_binary_read_config(struct ac_shader_binary *binary,
struct ac_shader_config *conf,
unsigned symbol_offset,
bool supports_spill);
+
+#endif /* AC_BINARY_H */