summaryrefslogtreecommitdiffstats
path: root/Tests/FindVulkan
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindVulkan')
-rw-r--r--Tests/FindVulkan/Test/main-SPIRV-Tools.c2
-rw-r--r--Tests/FindVulkan/Test/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/FindVulkan/Test/main-SPIRV-Tools.c b/Tests/FindVulkan/Test/main-SPIRV-Tools.c
index 097198d..c38f38d 100644
--- a/Tests/FindVulkan/Test/main-SPIRV-Tools.c
+++ b/Tests/FindVulkan/Test/main-SPIRV-Tools.c
@@ -2,7 +2,7 @@
#include <spirv-tools/libspirv.h>
#include <stdio.h>
-int main()
+int main(void)
{
const char* spv_version = spvSoftwareVersionString();
const char* spv_details = spvSoftwareVersionDetailsString();
diff --git a/Tests/FindVulkan/Test/main.c b/Tests/FindVulkan/Test/main.c
index 1bff651..78eaa4d 100644
--- a/Tests/FindVulkan/Test/main.c
+++ b/Tests/FindVulkan/Test/main.c
@@ -1,6 +1,6 @@
#include <vulkan/vulkan.h>
-int main()
+int main(void)
{
VkInstanceCreateInfo instanceCreateInfo = { 0 };
instanceCreateInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;