summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2023-11-12 14:35:16 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2023-11-12 14:55:50 -0500
commite52dfe7dfb9a414c6b2e1e7898ca135ab7dd185a (patch)
treee0555ce745757ea92e057978ebcc24fcfd96851e /src
parenta1ccbde53f96442d2421ad0bcdc25f1615b62786 (diff)
quiet a couple of unused-parameter warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src')
-rw-r--r--src/TMparse.c2
-rw-r--r--src/Varargs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/TMparse.c b/src/TMparse.c
index f93244c..2229a81 100644
--- a/src/TMparse.c
+++ b/src/TMparse.c
@@ -1076,7 +1076,7 @@ ParseTable(register String str, Opaque closure, EventPtr event, Boolean *error)
}
static String
-ParseButton(String str, Opaque closure, EventPtr event, Boolean *error)
+ParseButton(String str, Opaque closure _X_UNUSED, EventPtr event, Boolean *error)
{
String start = str;
char buttonStr[7];
diff --git a/src/Varargs.c b/src/Varargs.c
index 0e5b586..7814bb3 100644
--- a/src/Varargs.c
+++ b/src/Varargs.c
@@ -96,7 +96,7 @@ _XtCountVaList(va_list var, int *total_count, int *typed_count)
* returns the list.
*/
XtVarArgsList
-XtVaCreateArgsList(XtPointer unused, ...)
+XtVaCreateArgsList(XtPointer unused _X_UNUSED, ...)
{
va_list var;
XtTypedArgList avlist;