[client] remove non-prototype function declarations

With -Wstrict-prototypes on non-protyped functions are deprecated and
functions must include a void parameter if they do not take parameters.
This commit is contained in:
Ali Abdel-Qader
2022-09-26 01:16:01 -04:00
committed by Geoffrey McRae
parent 081a0a419d
commit 352cd2fafe
3 changed files with 4 additions and 4 deletions

View File

@@ -458,7 +458,7 @@ void app_handleMouseRelative(double normx, double normy,
// cursor warp support. Instead, we attempt a best-effort emulation which works
// with a 1:1 mouse movement patch applied in the guest. For anything fancy, use
// capture mode.
void app_handleMouseBasic()
void app_handleMouseBasic(void)
{
/* do not pass mouse events to the guest if we do not have focus */
if (!g_cursor.guest.valid || !g_state.haveSrcSize || !g_state.focused ||
@@ -495,7 +495,7 @@ void app_handleMouseBasic()
DEBUG_ERROR("failed to send mouse motion message");
}
void app_resyncMouseBasic()
void app_resyncMouseBasic(void)
{
if (!g_cursor.guest.valid)
return;