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/HookObj.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/HookObj.c')
-rw-r--r-- | src/HookObj.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/HookObj.c b/src/HookObj.c index 8aefa53..de224fa 100644 --- a/src/HookObj.c +++ b/src/HookObj.c @@ -106,8 +106,8 @@ externaldef(hookObjectClass) WidgetClass hookObjectClass = static void FreeShellList( Widget w, - XtPointer closure, - XtPointer call_data) + XtPointer closure _X_UNUSED, + XtPointer call_data _X_UNUSED) { HookObject h = (HookObject)w; if (h->hooks.shells != NULL) @@ -115,10 +115,10 @@ static void FreeShellList( } static void Initialize( - Widget req, + Widget req _X_UNUSED, Widget new, - ArgList args, - Cardinal* num_args) + ArgList args _X_UNUSED, + Cardinal* num_args _X_UNUSED) { HookObject w = (HookObject) new; w->hooks.max_shells = 0; @@ -126,9 +126,9 @@ static void Initialize( } static void GetValuesHook( - Widget widget, - ArgList args, - Cardinal* num_args) + Widget widget _X_UNUSED, + ArgList args _X_UNUSED, + Cardinal* num_args _X_UNUSED) { /* get the XtNshells and XtNnumShells pseudo-resources */ } |