summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmore.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xmore.c b/xmore.c
index 0d86e49..3f48923 100644
--- a/xmore.c
+++ b/xmore.c
@@ -114,13 +114,15 @@ static String fallback_resources[] = {
};
static void
-quitAction(Widget w, XEvent *event, String *params, Cardinal *num_params)
+quitAction(Widget w, _X_UNUSED XEvent *event,
+ _X_UNUSED String *params, _X_UNUSED Cardinal *num_params)
{
XtAppSetExitFlag(XtWidgetToApplicationContext(w));
}
static void
-quitXtProc(Widget w, XtPointer client_data, XtPointer callData)
+quitXtProc(Widget w, _X_UNUSED XtPointer client_data,
+ _X_UNUSED XtPointer callData)
{
XtCallActionProc(w, "quit", NULL, NULL, 0);
}