From 31d8db751734ac6a78b37d97df9c53763dfe90c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Fri, 22 Nov 2024 12:11:35 +0100 Subject: [PATCH] wineopenxr: Remove now unnecessary __wineopenxr_get_extensions_internal export. CW-Bug-Id: #24510 --- wineopenxr/openxr.c | 6 +++--- wineopenxr/wineopenxr.spec | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/wineopenxr/openxr.c b/wineopenxr/openxr.c index 993490b1..d85c2121 100644 --- a/wineopenxr/openxr.c +++ b/wineopenxr/openxr.c @@ -436,8 +436,8 @@ done: return value == 1; } -int WINAPI __wineopenxr_get_extensions_internal(char **ret_instance_extensions, - char **ret_device_extensions, uint32_t *ret_physdev_vid, uint32_t *ret_physdev_pid) +static int get_extensions( char **ret_instance_extensions, char **ret_device_extensions, + uint32_t *ret_physdev_vid, uint32_t *ret_physdev_pid ) { PFN_xrGetVulkanInstanceExtensionsKHR pxrGetVulkanInstanceExtensionsKHR; PFN_xrGetSystem pxrGetSystem; @@ -2452,7 +2452,7 @@ BOOL CDECL wineopenxr_init_registry(void) return FALSE; } - if (!__wineopenxr_get_extensions_internal( &xr_inst_ext, &xr_dev_ext, &vid, &pid )) + if (!get_extensions( &xr_inst_ext, &xr_dev_ext, &vid, &pid )) { TRACE( "Got XR extensions.\n" ); if ((status = RegSetValueExA( vr_key, "openxr_vulkan_instance_extensions", 0, REG_SZ, diff --git a/wineopenxr/wineopenxr.spec b/wineopenxr/wineopenxr.spec index bd1ffcfc..407002a9 100644 --- a/wineopenxr/wineopenxr.spec +++ b/wineopenxr/wineopenxr.spec @@ -1,6 +1,5 @@ @ stdcall xrNegotiateLoaderRuntimeInterface(ptr ptr) wine_xrNegotiateLoaderRuntimeInterface @ stdcall __wineopenxr_GetVulkanInstanceExtensions(long ptr ptr) @ stdcall __wineopenxr_GetVulkanDeviceExtensions(long ptr ptr) -@ stdcall __wineopenxr_get_extensions_internal(ptr ptr) @ cdecl -private wineopenxr_init_registry()