From 7adf98e9d491fc0cf218c661c3580827e8c89eb9 Mon Sep 17 00:00:00 2001 From: Avinash Sonawane Date: Mon, 16 Oct 2023 07:41:46 +0530 Subject: [PATCH] Use `void` for empty function parameter list PR #4371 Signed-off-by: Romain Vimont --- app/src/util/log.c | 2 +- app/src/util/log.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/util/log.c b/app/src/util/log.c index 0975e54a..8a347c84 100644 --- a/app/src/util/log.c +++ b/app/src/util/log.c @@ -147,7 +147,7 @@ sc_sdl_log_print(void *userdata, int category, SDL_LogPriority priority, } void -sc_log_configure() { +sc_log_configure(void) { SDL_LogSetOutputFunction(sc_sdl_log_print, NULL); // Redirect FFmpeg logs to SDL logs av_log_set_callback(sc_av_log_callback); diff --git a/app/src/util/log.h b/app/src/util/log.h index 8e1b73a2..0d79c9a4 100644 --- a/app/src/util/log.h +++ b/app/src/util/log.h @@ -36,6 +36,6 @@ sc_log_windows_error(const char *prefix, int error); #endif void -sc_log_configure(); +sc_log_configure(void); #endif