fix function validators warnings

This commit is contained in:
Gregory Wells
2025-08-03 15:29:28 -04:00
parent b1790b59d8
commit 2a6d3a108a
2 changed files with 7 additions and 7 deletions

View File

@@ -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);

View File

@@ -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);
}