From a7dff8284a5f2ffd6e06eebb510e6b261f89291c Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 23 Feb 2020 12:15:30 +0000 Subject: [PATCH] xrt: Tidy xrt_vulkan_includes.h --- src/xrt/include/xrt/xrt_vulkan_includes.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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);