summaryrefslogtreecommitdiff
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
parent12a097fd6339e2a31ab3fb80066a49c59239115e (diff)
Fix puglInitInternals prototype
-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 d4ba126..aa55c6d 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 72e4da9..f495811 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 eb87197..70bf98c 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 f91aa24..4e7b447 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));
}