loader: Compile fixes to instance extension from rebase of bug 15068 changes
diff --git a/loader/debug_report.c b/loader/debug_report.c
index 891dc1e..98fd3b4 100644
--- a/loader/debug_report.c
+++ b/loader/debug_report.c
@@ -65,7 +65,7 @@
     }
 }
 
-static VkResult VKAPI debug_report_DbgCreateMsgCallback(
+static VKAPI_ATTR VkResult VKAPI_CALL debug_report_DbgCreateMsgCallback(
         VkInstance instance,
         VkFlags msgFlags,
         const PFN_vkDbgMsgCallback pfnMsgCallback,
@@ -93,7 +93,7 @@
     return result;
 }
 
-static VkResult VKAPI debug_report_DbgDestroyMsgCallback(
+static VKAPI_ATTR VkResult VKAPI_CALL debug_report_DbgDestroyMsgCallback(
         VkInstance instance,
         VkDbgMsgCallback msg_callback)
 {
diff --git a/loader/wsi_swapchain.c b/loader/wsi_swapchain.c
index 41fc98d..9070657 100644
--- a/loader/wsi_swapchain.c
+++ b/loader/wsi_swapchain.c
@@ -62,7 +62,7 @@
  * This is the trampoline entrypoint
  * for GetPhysicalDeviceSurfaceSupportKHR
  */
-VkResult VKAPI wsi_swapchain_GetPhysicalDeviceSurfaceSupportKHR(
+VKAPI_ATTR VkResult VKAPI_CALL wsi_swapchain_GetPhysicalDeviceSurfaceSupportKHR(
         VkPhysicalDevice                        physicalDevice,
         uint32_t                                queueNodeIndex,
         const VkSurfaceDescriptionKHR*          pSurfaceDescription,