From 32b64d7d78a7986d3887c6892dd36be205897d80 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Thu, 9 Jan 2020 21:57:43 +0100 Subject: Cursor.c: drop unused return code for nxagentDisconnectAllCursor --- nx-X11/programs/Xserver/hw/nxagent/Cursor.c | 4 ++-- nx-X11/programs/Xserver/hw/nxagent/Cursor.h | 2 +- nx-X11/programs/Xserver/hw/nxagent/Reconnect.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/Cursor.c b/nx-X11/programs/Xserver/hw/nxagent/Cursor.c index 0c667a00c..bafb30cea 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Cursor.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Cursor.c @@ -487,7 +487,7 @@ void nxagentDisconnectCursor(void * p0, XID x1, void * p2) } } -Bool nxagentDisconnectAllCursor(void) +void nxagentDisconnectAllCursor(void) { Bool r = True; @@ -518,7 +518,7 @@ Bool nxagentDisconnectAllCursor(void) nxagentDisconnectCursor(grab -> cursor, 0, &r); } - return r; + return; } diff --git a/nx-X11/programs/Xserver/hw/nxagent/Cursor.h b/nx-X11/programs/Xserver/hw/nxagent/Cursor.h index b115dfa38..e857834df 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Cursor.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Cursor.h @@ -112,6 +112,6 @@ void nxagentDisconnectCursor(void * p0, XID x1, void * p2); void nxagentReconnectCursor(void * p0, XID x1, void * p2); void nxagentReDisplayCurrentCursor(void); Bool nxagentReconnectAllCursor(void *p0); -Bool nxagentDisconnectAllCursor(void); +void nxagentDisconnectAllCursor(void); #endif /* __Cursor_H__ */ diff --git a/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c b/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c index ff7033c6c..cfa0ec804 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Reconnect.c @@ -83,7 +83,7 @@ extern Bool nxagentReconnectAllPicture(void*); extern Bool nxagentDisconnectAllPicture(void); extern Bool nxagentDisconnectAllWindows(void); -extern Bool nxagentDisconnectAllCursor(void); +extern void nxagentDisconnectAllCursor(void); extern Bool nxagentReconnectFailedFonts(void*); extern Bool nxagentInstallFontServerPath(void); -- cgit v1.2.3