diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-07 12:13:17 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-07 12:14:27 -0400 |
commit | 61df064c511bb93b49a67a2d2b3c4886d650eeda (patch) | |
tree | 8c08b6978bd43852c411353de1d1e1507e8a9288 /src/TMparse.c | |
parent | 1229be61dabfcbba555ec34fd43da21e94ed7f06 (diff) | |
download | xorg-lib-libXt-61df064c511bb93b49a67a2d2b3c4886d650eeda.tar.gz |
use _X_UNUSED to quiet compiler warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/TMparse.c')
-rw-r--r-- | src/TMparse.c | 24 |
1 files changed, 12 insertions, 12 deletions
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; |