aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-06-25 19:29:37 +0200
committerDavid Robillard <d@drobilla.net>2019-06-25 19:29:37 +0200
commit24aef2fc55c6d84f4ce0e8a3554d2d3dcbf79ee6 (patch)
treec68d8f88916064d139821cdb669cc06d10586c4b /pugl
parent13dd9c752cbf02dd5993642912cd22e21beb4a3c (diff)
downloadpugl-24aef2fc55c6d84f4ce0e8a3554d2d3dcbf79ee6.tar.gz
pugl-24aef2fc55c6d84f4ce0e8a3554d2d3dcbf79ee6.tar.bz2
pugl-24aef2fc55c6d84f4ce0e8a3554d2d3dcbf79ee6.zip
Fix void function prototypes
Diffstat (limited to 'pugl')
-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