summaryrefslogtreecommitdiff
path: root/src/Tree.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-07-06 06:33:35 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-07-06 06:35:27 -0400
commit15860a8e2804243777c1e3d1fc997b9d6a500cb5 (patch)
tree1c677cfd4b755f320fccfdf0e5c5637dcb0b5a6b /src/Tree.c
parent70fb870ca41cd2a5f9c46ad0244004bd7f808202 (diff)
downloadxorg-lib-libXaw-15860a8e2804243777c1e3d1fc997b9d6a500cb5.tar.gz
use _X_UNUSED to quiet unused-parameter warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Tree.c')
-rw-r--r--src/Tree.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Tree.c b/src/Tree.c
index 60d7cc9..e862bc6 100644
--- a/src/Tree.c
+++ b/src/Tree.c
@@ -346,7 +346,7 @@ XawTreeClassInitialize(void)
/*ARGSUSED*/
static void
XawTreeInitialize(Widget grequest, Widget gnew,
- ArgList args, Cardinal *num_args)
+ ArgList args _X_UNUSED, Cardinal *num_args _X_UNUSED)
{
TreeWidget request = (TreeWidget) grequest, cnew = (TreeWidget) gnew;
Arg arglist[2];
@@ -402,8 +402,8 @@ XawTreeInitialize(Widget grequest, Widget gnew,
/* ARGSUSED */
static void
-XawTreeConstraintInitialize(Widget request, Widget cnew,
- ArgList args, Cardinal *num_args)
+XawTreeConstraintInitialize(Widget request _X_UNUSED, Widget cnew,
+ ArgList args _X_UNUSED, Cardinal *num_args _X_UNUSED)
{
TreeConstraints tc = TREE_CONSTRAINT(cnew);
TreeWidget tw = (TreeWidget) cnew->core.parent;
@@ -433,8 +433,8 @@ XawTreeConstraintInitialize(Widget request, Widget cnew,
/* ARGSUSED */
static Boolean
-XawTreeSetValues(Widget gcurrent, Widget grequest, Widget gnew,
- ArgList args, Cardinal *num_args)
+XawTreeSetValues(Widget gcurrent, Widget grequest _X_UNUSED, Widget gnew,
+ ArgList args _X_UNUSED, Cardinal *num_args _X_UNUSED)
{
TreeWidget current = (TreeWidget) gcurrent, cnew = (TreeWidget) gnew;
Boolean redraw = FALSE;
@@ -480,8 +480,8 @@ XawTreeSetValues(Widget gcurrent, Widget grequest, Widget gnew,
/* ARGSUSED */
static Boolean
-XawTreeConstraintSetValues(Widget current, Widget request, Widget cnew,
- ArgList args, Cardinal *num_args)
+XawTreeConstraintSetValues(Widget current, Widget request _X_UNUSED, Widget cnew,
+ ArgList args _X_UNUSED, Cardinal *num_args _X_UNUSED)
{
TreeConstraints newc = TREE_CONSTRAINT(cnew);
TreeConstraints curc = TREE_CONSTRAINT(current);
@@ -538,7 +538,7 @@ XawTreeConstraintDestroy(Widget w)
/* ARGSUSED */
static XtGeometryResult
XawTreeGeometryManager(Widget w, XtWidgetGeometry *request,
- XtWidgetGeometry *reply)
+ XtWidgetGeometry *reply _X_UNUSED)
{
TreeWidget tw = (TreeWidget) w->core.parent;
@@ -584,7 +584,7 @@ XawTreeDestroy(Widget gw)
/* ARGSUSED */
static void
-XawTreeRedisplay(Widget gw, XEvent *event, Region region)
+XawTreeRedisplay(Widget gw, XEvent *event _X_UNUSED, Region region _X_UNUSED)
{
TreeWidget tw = (TreeWidget) gw;