diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-06 06:33:35 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-07-06 06:35:27 -0400 |
commit | 15860a8e2804243777c1e3d1fc997b9d6a500cb5 (patch) | |
tree | 1c677cfd4b755f320fccfdf0e5c5637dcb0b5a6b /src/Box.c | |
parent | 70fb870ca41cd2a5f9c46ad0244004bd7f808202 (diff) | |
download | xorg-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.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |