summaryrefslogtreecommitdiff
path: root/src/Box.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/Box.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/Box.c')
-rw-r--r--src/Box.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Box.c b/src/Box.c
index 257a82c..2a1bc68 100644
--- a/src/Box.c
+++ b/src/Box.c
@@ -523,7 +523,7 @@ TryNewLayout(BoxWidget bbw)
/*ARGSUSED*/
static XtGeometryResult
XawBoxGeometryManager(Widget w, XtWidgetGeometry *request,
- XtWidgetGeometry *reply)
+ XtWidgetGeometry *reply _X_UNUSED)
{
Dimension width, height, borderWidth;
BoxWidget bbw;
@@ -597,8 +597,8 @@ XawBoxClassInitialize(void)
/*ARGSUSED*/
static void
-XawBoxInitialize(Widget request, Widget cnew,
- ArgList args, Cardinal *num_args)
+XawBoxInitialize(Widget request _X_UNUSED, Widget cnew,
+ ArgList args _X_UNUSED, Cardinal *num_args _X_UNUSED)
{
BoxWidget newbbw = (BoxWidget)cnew;
@@ -636,8 +636,8 @@ XawBoxRealize(Widget w, Mask *valueMask, XSetWindowAttributes *attributes)
/*ARGSUSED*/
static Boolean
-XawBoxSetValues(Widget current, Widget request, Widget cnew,
- ArgList args, Cardinal *num_args)
+XawBoxSetValues(Widget current _X_UNUSED, Widget request _X_UNUSED, Widget cnew _X_UNUSED,
+ ArgList args _X_UNUSED, Cardinal *num_args _X_UNUSED)
{
/* need to relayout if h_space or v_space change */
#ifndef OLDXAW