From 61df064c511bb93b49a67a2d2b3c4886d650eeda Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 7 Jul 2019 12:13:17 -0400 Subject: use _X_UNUSED to quiet compiler warnings Signed-off-by: Thomas E. Dickey --- src/TMparse.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/TMparse.c') diff --git a/src/TMparse.c b/src/TMparse.c index 9582b0c..81366d2 100644 --- a/src/TMparse.c +++ b/src/TMparse.c @@ -866,8 +866,8 @@ static KeySym StringToKeySym( /* ARGSUSED */ static void ParseModImmed( Value value, - LateBindingsPtr* lateBindings, - Boolean notFlag, + LateBindingsPtr* lateBindings _X_UNUSED, + Boolean notFlag _X_UNUSED, Value* valueP) { *valueP = value; @@ -905,7 +905,7 @@ static String ParseImmed( register String str, register Opaque closure, register EventPtr event, - Boolean* error) + Boolean* error _X_UNUSED) { event->event.eventCode = (unsigned long)closure; event->event.eventCodeMask = (unsigned long) (~0UL); @@ -918,7 +918,7 @@ static String ParseAddModifier( register String str, register Opaque closure, register EventPtr event, - Boolean* error) + Boolean* error _X_UNUSED) { register unsigned long modval = (unsigned long)closure; event->event.modifiers |= modval; @@ -950,7 +950,7 @@ static String ParseKeyAndModifiers( /*ARGSUSED*/ static String ParseKeySym( register String str, - Opaque closure, + Opaque closure _X_UNUSED, EventPtr event, Boolean* error) { @@ -1052,9 +1052,9 @@ static String ParseTable( /*ARGSUSED*/ static String ParseNone( String str, - Opaque closure, + Opaque closure _X_UNUSED, EventPtr event, - Boolean* error) + Boolean* error _X_UNUSED) { event->event.eventCode = 0; event->event.eventCodeMask = 0; @@ -1065,7 +1065,7 @@ static String ParseNone( /*ARGSUSED*/ static String ParseAtom( String str, - Opaque closure, + Opaque closure _X_UNUSED, EventPtr event, Boolean* error) { @@ -1964,11 +1964,11 @@ static XtTranslations ParseTranslationTable( /*ARGSUSED*/ Boolean XtCvtStringToAcceleratorTable( Display* dpy, - XrmValuePtr args, + XrmValuePtr args _X_UNUSED, Cardinal *num_args, XrmValuePtr from, XrmValuePtr to, - XtPointer *closure) + XtPointer *closure _X_UNUSED) { String str; Boolean error = FALSE; @@ -2014,11 +2014,11 @@ Boolean XtCvtStringToAcceleratorTable( Boolean XtCvtStringToTranslationTable( Display *dpy, - XrmValuePtr args, + XrmValuePtr args _X_UNUSED, Cardinal *num_args, XrmValuePtr from, XrmValuePtr to, - XtPointer *closure_ret) + XtPointer *closure_ret _X_UNUSED) { String str; Boolean error = FALSE; -- cgit v1.2.3