Skip to content

Display and control your Android device

Use `void` for empty function parameter list

Avinash Sonawane7adf98e9d491
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