aboutsummaryrefslogtreecommitdiff
path: root/pugl
diff options
context:
space:
mode:
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 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));
}