mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 06:39:39 +00:00
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
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue