aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-15 14:33:14 +0100
committerDavid Robillard <d@drobilla.net>2020-03-15 14:33:14 +0100
commitb5d89e71c93024b4bbd1dab6a80478f0efdb0a91 (patch)
treeec43e5dcbf8516a34c7214395fb48c719ac7a31f
parent524bccedb6d65a5d8a5e7e420bf9dfc1f3367d3c (diff)
downloadpugl-b5d89e71c93024b4bbd1dab6a80478f0efdb0a91.tar.gz
pugl-b5d89e71c93024b4bbd1dab6a80478f0efdb0a91.tar.bz2
pugl-b5d89e71c93024b4bbd1dab6a80478f0efdb0a91.zip
Cleanup: Remove redundant PUGL_API declarations
-rw-r--r--pugl/detail/mac.m2
-rw-r--r--pugl/detail/win.c2
-rw-r--r--pugl/detail/x11.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m
index 2928951..b4c52f0 100644
--- a/pugl/detail/mac.m
+++ b/pugl/detail/mac.m
@@ -992,7 +992,7 @@ dispatchClientEvent(PuglWorld* world, NSEvent* ev)
}
}
-PUGL_API PuglStatus
+PuglStatus
puglDispatchEvents(PuglWorld* world)
{
const NSTimeInterval startTime = [[NSProcessInfo processInfo] systemUptime];
diff --git a/pugl/detail/win.c b/pugl/detail/win.c
index 409cc98..e8d1214 100644
--- a/pugl/detail/win.c
+++ b/pugl/detail/win.c
@@ -792,7 +792,7 @@ puglDispatchViewEvents(PuglView* view)
return PUGL_SUCCESS;
}
-PUGL_API PuglStatus
+PuglStatus
puglDispatchEvents(PuglWorld* world)
{
for (size_t i = 0; i < world->numViews; ++i) {
diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c
index b505c50..7a29801 100644
--- a/pugl/detail/x11.c
+++ b/pugl/detail/x11.c
@@ -738,7 +738,7 @@ handleSelectionRequest(const PuglWorld* world,
XSendEvent(world->impl->display, note.requestor, True, 0, (XEvent*)&note);
}
-PUGL_API PuglStatus
+PuglStatus
puglDispatchEvents(PuglWorld* world)
{
const PuglX11Atoms* const atoms = &world->impl->atoms;