aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl.h2
-rw-r--r--pugl/pugl_internal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 9e70100..34b2eb0 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -632,7 +632,7 @@ puglProcessEvents(PuglView* view);
/**
OpenGL extension function.
*/
-typedef void (*PuglGlFunc)();
+typedef void (*PuglGlFunc)(void);
/**
Return the address of an OpenGL extension function.
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h
index 2b54de4..46e9d9d 100644
--- a/pugl/pugl_internal.h
+++ b/pugl/pugl_internal.h
@@ -37,7 +37,7 @@
PuglInternals* puglInitInternals(void);
static PuglHints
-puglDefaultHints()
+puglDefaultHints(void)
{
static const PuglHints hints = {
2, 0, 4, 4, 4, 4, 24, 8, 0, true, true, false