all: fix a compiler warning about function declarations

warning: function declaration isn’t a prototype [-Wstrict-prototypes]

In C function() and function(void) are two different prototypes (as opposed to
C++).
function()     accepts an arbitrary number of arguments
function(void) accepts zero arguments
This commit is contained in:
Jiří Klimeš
2015-06-10 10:01:49 +02:00
parent 036901b82e
commit 94a393e9ed
5 changed files with 10 additions and 10 deletions

View File

@@ -160,7 +160,7 @@ parse_state_file (const char *filename,
}
static void
_set_g_fatal_warnings ()
_set_g_fatal_warnings (void)
{
GLogLevelFlags fatal_mask;