From 24aef2fc55c6d84f4ce0e8a3554d2d3dcbf79ee6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 25 Jun 2019 19:29:37 +0200 Subject: Fix void function prototypes --- pugl/pugl.h | 2 +- pugl/pugl_internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pugl') 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 -- cgit v1.2.1