diff --git a/projects/validation_layers/function_loader/loader/function_loader.h b/projects/validation_layers/function_loader/loader/function_loader.h index 30771c2..c2e1e45 100644 --- a/projects/validation_layers/function_loader/loader/function_loader.h +++ b/projects/validation_layers/function_loader/loader/function_loader.h @@ -4,13 +4,13 @@ #include "loader/src/gryphn_command_functions.h" typedef struct gryphnInstanceFunctionLayers gryphnInstanceFunctionLayers; -gryphnInstanceFunctionLayers checkerLoadInstanceFunctions(); +gryphnInstanceFunctionLayers checkerLoadInstanceFunctions(void); -gnInstanceFunctions loadFunctionLoaderInstanceFunctions(); -gnDeviceFunctions loadFunctionLoaderDeviceFunctions(); -gnCommandFunctions loadFunctionLoaderCommandFunctions(); +gnInstanceFunctions loadFunctionLoaderInstanceFunctions(void); +gnDeviceFunctions loadFunctionLoaderDeviceFunctions(void); +gnCommandFunctions loadFunctionLoaderCommandFunctions(void); #include "extensions/synchronization/loader/sync_functions.h" #include "extensions/queues/queues_functions.h" -gnSyncExtFunctions loadFunctionLoaderSyncExtFunctions(); -gnQueueExtFunctions loadFunctionLoaderQueueExtFunctions(); +gnSyncExtFunctions loadFunctionLoaderSyncExtFunctions(void); +gnQueueExtFunctions loadFunctionLoaderQueueExtFunctions(void); diff --git a/projects/validation_layers/function_loader/src/instance_functions.c b/projects/validation_layers/function_loader/src/instance_functions.c index 9f24cde..f4862e7 100644 --- a/projects/validation_layers/function_loader/src/instance_functions.c +++ b/projects/validation_layers/function_loader/src/instance_functions.c @@ -55,5 +55,5 @@ void checkDestroyWindowSurface(gnWindowSurfaceHandle windowSurface) { CHECK_VOID_FUNCTION(windowSurface->instance, _gnDestroyWindowSurface, instanceFunctions, windowSurface); } gnSurfaceDetails checkGetSurfaceDetails(gnWindowSurfaceHandle windowSurface, gnPhysicalDevice device) { - CHECK_RETURNED_FUNCTION(windowSurface->instance, _gnGetSurfaceDetails, instanceFunctions, (gnSurfaceDetails){}, windowSurface, device); + CHECK_RETURNED_FUNCTION(windowSurface->instance, _gnGetSurfaceDetails, instanceFunctions, (gnSurfaceDetails){ .formatCount = 0 }, windowSurface, device); }