Use `void` for empty function parameter list

PR #4371 <https://github.com/Genymobile/scrcpy/pull/4371>

Signed-off-by: Romain Vimont <rom@rom1v.com>
pr4371
Avinash Sonawane 8 months ago committed by Romain Vimont
parent 1c864a88eb
commit 7adf98e9d4

@ -147,7 +147,7 @@ sc_sdl_log_print(void *userdata, int category, SDL_LogPriority priority,
} }
void void
sc_log_configure() { sc_log_configure(void) {
SDL_LogSetOutputFunction(sc_sdl_log_print, NULL); SDL_LogSetOutputFunction(sc_sdl_log_print, NULL);
// Redirect FFmpeg logs to SDL logs // Redirect FFmpeg logs to SDL logs
av_log_set_callback(sc_av_log_callback); av_log_set_callback(sc_av_log_callback);

@ -36,6 +36,6 @@ sc_log_windows_error(const char *prefix, int error);
#endif #endif
void void
sc_log_configure(); sc_log_configure(void);
#endif #endif

Loading…
Cancel
Save