From d12ab6830fb395d28986846c29933012ee87391d Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Thu, 21 Mar 2019 13:52:18 +0100 Subject: [PATCH] No old-style function definitions. Specify void as argument type for functions that don't take args. --- daemon/gamemode-tests.c | 2 +- daemon/gamemode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/gamemode-tests.c b/daemon/gamemode-tests.c index b8549ae..beebc6a 100644 --- a/daemon/gamemode-tests.c +++ b/daemon/gamemode-tests.c @@ -705,7 +705,7 @@ static int run_supervisor_tests(void) * * returns 0 for success, -1 for failure */ -int game_mode_run_client_tests() +int game_mode_run_client_tests(void) { int status = 0; diff --git a/daemon/gamemode.c b/daemon/gamemode.c index cf90a26..71f1a78 100644 --- a/daemon/gamemode.c +++ b/daemon/gamemode.c @@ -632,7 +632,7 @@ static void *game_mode_context_reaper(void *userdata) return NULL; } -GameModeContext *game_mode_context_instance() +GameModeContext *game_mode_context_instance(void) { return &instance; }