summaryrefslogtreecommitdiff
path: root/src/Callback.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/Callback.c
parent1229be61dabfcbba555ec34fd43da21e94ed7f06 (diff)
use _X_UNUSED to quiet compiler warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Callback.c')
-rw-r--r--src/Callback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Callback.c b/src/Callback.c
index ad2c534..72cbc3d 100644
--- a/src/Callback.c
+++ b/src/Callback.c
@@ -194,7 +194,7 @@ void XtAddCallback(
/* ARGSUSED */
static void AddCallbacks(
- Widget widget,
+ Widget widget _X_UNUSED,
InternalCallbackList *callbacks,
XtCallbackList newcallbacks)
{
@@ -640,7 +640,7 @@ void XtCallCallbackList(
} /* XtCallCallbackList */
void _XtPeekCallback(
- Widget widget,
+ Widget widget _X_UNUSED,
XtCallbackList callbacks,
XtCallbackProc *callback,
XtPointer *closure)