diff --git a/src/xrt/include/xrt/xrt_vulkan_includes.h b/src/xrt/include/xrt/xrt_vulkan_includes.h index dee4caa92..255adb1aa 100644 --- a/src/xrt/include/xrt/xrt_vulkan_includes.h +++ b/src/xrt/include/xrt/xrt_vulkan_includes.h @@ -1,4 +1,4 @@ -// Copyright 2018-2019, Collabora, Ltd. +// Copyright 2018-2020, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file @@ -13,7 +13,12 @@ #include #ifdef __cplusplus -extern "C" +extern "C" { +#endif + +VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL +vkGetInstanceProcAddr(VkInstance instance, const char *pName); + +#ifdef __cplusplus +} #endif - VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL - vkGetInstanceProcAddr(VkInstance instance, const char *pName);