mirror of https://github.com/Genymobile/scrcpy
Use `void` for empty function parameter list
PR #4371 <https://github.com/Genymobile/scrcpy/pull/4371> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
1c864a88eb
commit
7adf98e9d4
|
@ -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);
|
||||
|
|
|
@ -36,6 +36,6 @@ sc_log_windows_error(const char *prefix, int error);
|
|||
#endif
|
||||
|
||||
void
|
||||
sc_log_configure();
|
||||
sc_log_configure(void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue