diff options
author | Edward O'Callaghan <funfunctor@folklore1984.net> | 2016-10-07 22:19:19 +1100 |
---|---|---|
committer | Edward O'Callaghan <funfunctor@folklore1984.net> | 2016-10-10 16:10:56 +1100 |
commit | ba43768a1e9740076825a873001e1d7a3259742b (patch) | |
tree | 078bf5c9a9c0e9ae491d2ca31eb7ec21fada5362 /src/amd/vulkan/radv_cs.h | |
parent | 2d7e0f35c54f49c3280eea308a652253cb3bde46 (diff) | |
download | external_mesa3d-ba43768a1e9740076825a873001e1d7a3259742b.zip external_mesa3d-ba43768a1e9740076825a873001e1d7a3259742b.tar.gz external_mesa3d-ba43768a1e9740076825a873001e1d7a3259742b.tar.bz2 |
radv: Use proper header guards over 'pragma once' directives
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'src/amd/vulkan/radv_cs.h')
-rw-r--r-- | src/amd/vulkan/radv_cs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_cs.h b/src/amd/vulkan/radv_cs.h index 6481df1..2c8935f 100644 --- a/src/amd/vulkan/radv_cs.h +++ b/src/amd/vulkan/radv_cs.h @@ -21,7 +21,9 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. */ -#pragma once + +#ifndef RADV_CS_H +#define RADV_CS_H #include <string.h> #include <stdint.h> @@ -115,3 +117,5 @@ static inline void radeon_set_uconfig_reg_idx(struct radeon_winsys_cs *cs, radeon_emit(cs, (reg - CIK_UCONFIG_REG_OFFSET) >> 2 | (idx << 28)); radeon_emit(cs, value); } + +#endif /* RADV_CS_H */ |