nvk: Add include guards to nvk_bo_sync.h
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Wed, 6 Sep 2023 15:35:02 +0000 (10:35 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Sep 2023 17:05:58 +0000 (17:05 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25085>

src/nouveau/vulkan/nvk_bo_sync.h

index 990e743..efd4eca 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef NVK_BO_SYNC_H
+#define NVK_BO_SYNC_H 1
+
 #include "nvk_private.h"
 
 #include "vulkan/runtime/vk_sync.h"
@@ -23,3 +26,5 @@ nvk_create_sync_for_memory(struct vk_device *device,
                            VkDeviceMemory memory,
                            bool signal_memory,
                            struct vk_sync **sync_out);
+
+#endif /* NVK_BO_SYNC_H */