aboutsummaryrefslogtreecommitdiff
path: root/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-14 21:28:58 +0800
committerDavid Robillard <d@drobilla.net>2016-09-14 21:28:58 +0800
commit3d26c1346b819aca7d4073360ce409c1f33aa2f3 (patch)
treeafaafee9a893ec9f3f346409abc3f87be0d23a51 /pugl
parent12a097fd6339e2a31ab3fb80066a49c59239115e (diff)
downloadsynthpod-3d26c1346b819aca7d4073360ce409c1f33aa2f3.tar.xz
Fix puglInitInternals prototype
Diffstat (limited to 'pugl')
-rw-r--r--pugl/pugl_internal.h2
-rw-r--r--pugl/pugl_osx.m2
-rw-r--r--pugl/pugl_win.cpp2
-rw-r--r--pugl/pugl_x11.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h
index d4ba1263..aa55c6d6 100644
--- a/pugl/pugl_internal.h
+++ b/pugl/pugl_internal.h
@@ -72,7 +72,7 @@ struct PuglViewImpl {
uint32_t event_timestamp_ms;
};
-PuglInternals* puglInitInternals();
+PuglInternals* puglInitInternals(void);
PuglView*
puglInit(int* pargc, char** argv)
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index 72e4da90..f4958117 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -452,7 +452,7 @@ getModifiers(PuglView* view, NSEvent* ev)
@end
PuglInternals*
-puglInitInternals()
+puglInitInternals(void)
{
return (PuglInternals*)calloc(1, sizeof(PuglInternals));
}
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp
index eb87197c..70bf98c1 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -77,7 +77,7 @@ puglInit()
}
PuglInternals*
-puglInitInternals()
+puglInitInternals(void)
{
return (PuglInternals*)calloc(1, sizeof(PuglInternals));
}
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c
index f91aa243..4e7b4474 100644
--- a/pugl/pugl_x11.c
+++ b/pugl/pugl_x11.c
@@ -100,7 +100,7 @@ struct PuglInternalsImpl {
};
PuglInternals*
-puglInitInternals()
+puglInitInternals(void)
{
return (PuglInternals*)calloc(1, sizeof(PuglInternals));
}