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/Selection.c | |
parent | 1229be61dabfcbba555ec34fd43da21e94ed7f06 (diff) |
use _X_UNUSED to quiet compiler warnings
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/Selection.c')
-rw-r--r-- | src/Selection.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Selection.c b/src/Selection.c index 8c48dd7..83b0bb5 100644 --- a/src/Selection.c +++ b/src/Selection.c @@ -156,9 +156,9 @@ static int StorageSize[3] = {1, sizeof(short), sizeof(long)}; /*ARGSUSED*/ static void FreePropList( - Widget w, /* unused */ + Widget w _X_UNUSED, XtPointer closure, - XtPointer callData) /* unused */ + XtPointer callData _X_UNUSED) { PropList sarray = (PropList)closure; LOCK_PROCESS; @@ -364,7 +364,7 @@ static Select FindCtx( /*ARGSUSED*/ static void WidgetDestroyed( Widget widget, - XtPointer closure, XtPointer data) + XtPointer closure, XtPointer data _X_UNUSED) { Select ctx = (Select) closure; if (ctx->widget == widget) { @@ -544,7 +544,7 @@ static void RemoveHandler( /* ARGSUSED */ static void OwnerTimedOut( XtPointer closure, - XtIntervalId *id) + XtIntervalId *id _X_UNUSED) { Request req = (Request)closure; Select ctx = req->ctx; @@ -609,10 +609,10 @@ static void AllSent( /*ARGSUSED*/ static void HandlePropertyGone( - Widget widget, + Widget widget _X_UNUSED, XtPointer closure, XEvent *ev, - Boolean *cont) + Boolean *cont _X_UNUSED) { XPropertyEvent *event = (XPropertyEvent *) ev; Request req = (Request)closure; @@ -675,7 +675,7 @@ static void PrepareIncremental( Request req, Widget widget, Window window, - Atom property, + Atom property _X_UNUSED, Atom target, Atom targetType, XtPointer value, @@ -799,7 +799,7 @@ static void HandleSelectionEvents( Widget widget, XtPointer closure, XEvent *event, - Boolean *cont) + Boolean *cont _X_UNUSED) { Select ctx; XSelectionEvent ev; @@ -1071,7 +1071,7 @@ static void ReqCleanup( Widget widget, XtPointer closure, XEvent *ev, - Boolean *cont) + Boolean *cont _X_UNUSED) { CallBackInfo info = (CallBackInfo)closure; unsigned long bytesafter, length; @@ -1118,7 +1118,7 @@ static void ReqCleanup( /* ARGSUSED */ static void ReqTimedOut( XtPointer closure, - XtIntervalId *id) + XtIntervalId *id _X_UNUSED) { XtPointer value = NULL; unsigned long length = 0; @@ -1171,7 +1171,7 @@ static void HandleGetIncrement( Widget widget, XtPointer closure, XEvent *ev, - Boolean *cont) + Boolean *cont _X_UNUSED) { XPropertyEvent *event = (XPropertyEvent *) ev; CallBackInfo info = (CallBackInfo) closure; @@ -1376,7 +1376,7 @@ static void HandleSelectionReplies( Widget widget, XtPointer closure, XEvent *ev, - Boolean *cont) + Boolean *cont _X_UNUSED) { XSelectionEvent *event = (XSelectionEvent *) ev; Display *dpy = event->display; |