tests: Specify argument types for dxcompiler_create().

This commit is contained in:
Henri Verbeet 2023-10-16 16:00:46 +02:00 committed by Alexandre Julliard
parent 85c165ff39
commit 803e5183cc
Notes: Alexandre Julliard 2023-10-17 22:39:52 +02:00
Approved-by: Matteo Bruni (@Mystral)
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/410

View File

@ -1450,7 +1450,7 @@ out:
#endif
#if defined(SONAME_LIBDXCOMPILER) && !defined(VKD3D_CROSSTEST)
static IDxcCompiler3 *dxcompiler_create()
static IDxcCompiler3 *dxcompiler_create(void)
{
DxcCreateInstanceProc create_instance;
IDxcCompiler3 *compiler;
@ -1475,7 +1475,7 @@ static IDxcCompiler3 *dxcompiler_create()
return compiler;
}
#elif !defined(VKD3D_CROSSTEST)
static IDxcCompiler3 *dxcompiler_create()
static IDxcCompiler3 *dxcompiler_create(void)
{
return NULL;
}