summaryrefslogtreecommitdiff
path: root/src/PopupCB.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/PopupCB.c
parent1229be61dabfcbba555ec34fd43da21e94ed7f06 (diff)
use _X_UNUSED to quiet compiler warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/PopupCB.c')
-rw-r--r--src/PopupCB.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PopupCB.c b/src/PopupCB.c
index 38cba26..660a6b4 100644
--- a/src/PopupCB.c
+++ b/src/PopupCB.c
@@ -54,7 +54,7 @@ SOFTWARE.
void XtCallbackNone(
Widget widget,
XtPointer closure,
- XtPointer call_data)
+ XtPointer call_data _X_UNUSED)
{
XtSetSensitive(widget, FALSE);
_XtPopup((Widget) closure, XtGrabNone, FALSE);
@@ -64,7 +64,7 @@ void XtCallbackNone(
void XtCallbackNonexclusive(
Widget widget,
XtPointer closure,
- XtPointer call_data)
+ XtPointer call_data _X_UNUSED)
{
XtSetSensitive(widget, FALSE);
@@ -75,7 +75,7 @@ void XtCallbackNonexclusive(
void XtCallbackExclusive(
Widget widget,
XtPointer closure,
- XtPointer call_data)
+ XtPointer call_data _X_UNUSED)
{
XtSetSensitive(widget, FALSE);
_XtPopup((Widget) closure, XtGrabExclusive, FALSE);