aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-03 10:51:56 -0400
committerDavid Robillard <d@drobilla.net>2023-05-03 10:52:24 -0400
commit2d998dd42558287aa505d7119eb2adb4cceb918c (patch)
treef7066d000e0c09e00ee2d23d3181b9f88a7db93c
parent128f21802ed1502c2fad48935359c56b97445318 (diff)
downloadpugl-2d998dd42558287aa505d7119eb2adb4cceb918c.tar.gz
pugl-2d998dd42558287aa505d7119eb2adb4cceb918c.tar.bz2
pugl-2d998dd42558287aa505d7119eb2adb4cceb918c.zip
Fix ambiguous function prototypes
-rw-r--r--src/win_cairo.c2
-rw-r--r--src/win_vulkan.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/win_cairo.c b/src/win_cairo.c
index 75c61db..4bef2e6 100644
--- a/src/win_cairo.c
+++ b/src/win_cairo.c
@@ -150,7 +150,7 @@ puglWinCairoGetContext(PuglView* view)
}
const PuglBackend*
-puglCairoBackend()
+puglCairoBackend(void)
{
static const PuglBackend backend = {puglWinCairoConfigure,
puglStubCreate,
diff --git a/src/win_vulkan.c b/src/win_vulkan.c
index a5fd1b3..6d7c632 100644
--- a/src/win_vulkan.c
+++ b/src/win_vulkan.c
@@ -68,7 +68,7 @@ puglGetDeviceProcAddrFunc(const PuglVulkanLoader* loader)
}
const PuglBackend*
-puglVulkanBackend()
+puglVulkanBackend(void)
{
static const PuglBackend backend = {puglWinConfigure,
puglStubCreate,