summaryrefslogtreecommitdiff
path: root/src/Hooks.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-07-07 12:13:17 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-07-07 12:14:27 -0400
commit61df064c511bb93b49a67a2d2b3c4886d650eeda (patch)
tree8c08b6978bd43852c411353de1d1e1507e8a9288 /src/Hooks.c
parent1229be61dabfcbba555ec34fd43da21e94ed7f06 (diff)
use _X_UNUSED to quiet compiler warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Hooks.c')
-rw-r--r--src/Hooks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Hooks.c b/src/Hooks.c
index 64e8355..6d4695b 100644
--- a/src/Hooks.c
+++ b/src/Hooks.c
@@ -33,9 +33,9 @@ in this Software without prior written authorization from The Open Group.
#include "CreateI.h"
static void FreeBlockHookList(
- Widget widget, /* unused (and invalid) */
+ Widget widget _X_UNUSED,
XtPointer closure, /* ActionHook* */
- XtPointer call_data) /* unused */
+ XtPointer call_data _X_UNUSED)
{
BlockHook list = *(BlockHook*)closure;
while (list != NULL) {
@@ -93,7 +93,7 @@ void XtRemoveBlockHook(
static void DeleteShellFromHookObj(
Widget shell,
XtPointer closure,
- XtPointer call_data)
+ XtPointer call_data _X_UNUSED)
{
/* app_con is locked when this function is called */
Cardinal ii, jj;