mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-11-24 02:08:16 +00:00
[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:
committed by
Geoffrey McRae
parent
081a0a419d
commit
352cd2fafe
@@ -103,7 +103,7 @@ bool x11CBEventThread(const XEvent xe)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool x11CBInit()
|
||||
bool x11CBInit(void)
|
||||
{
|
||||
x11cb.aCurSelection = BadValue;
|
||||
for(int i = 0; i < LG_CLIPBOARD_DATA_NONE; ++i)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user