summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_wsi.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <funfunctor@folklore1984.net>2016-10-07 22:19:19 +1100
committerEdward O'Callaghan <funfunctor@folklore1984.net>2016-10-10 16:10:56 +1100
commitba43768a1e9740076825a873001e1d7a3259742b (patch)
tree078bf5c9a9c0e9ae491d2ca31eb7ec21fada5362 /src/amd/vulkan/radv_wsi.h
parent2d7e0f35c54f49c3280eea308a652253cb3bde46 (diff)
downloadexternal_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_wsi.h')
-rw-r--r--src/amd/vulkan/radv_wsi.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_wsi.h b/src/amd/vulkan/radv_wsi.h
index 3e453fb..d624ab2 100644
--- a/src/amd/vulkan/radv_wsi.h
+++ b/src/amd/vulkan/radv_wsi.h
@@ -23,7 +23,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef RADV_WSI_H
+#define RADV_WSI_H
#include "radv_private.h"
@@ -77,3 +78,5 @@ VkResult radv_x11_init_wsi(struct radv_physical_device *physical_device);
void radv_x11_finish_wsi(struct radv_physical_device *physical_device);
VkResult radv_wl_init_wsi(struct radv_physical_device *physical_device);
void radv_wl_finish_wsi(struct radv_physical_device *physical_device);
+
+#endif /* RADV_WSI_H */