summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-07-16 04:33:26 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-07-16 04:33:26 -0400
commit05814df9c0be77ff0168a22415e2282d093df5d5 (patch)
treedec96dba9b6bcc506fd41a13180a2ab9dc2222d0 /src/session.c
parentcb7840991612fbbe259bf07c53f34577c5b5c2b9 (diff)
gcc-stricter warnings, no object change
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/session.c b/src/session.c
index 03b84a1..1531626 100644
--- a/src/session.c
+++ b/src/session.c
@@ -720,7 +720,7 @@ unique_filename (
static void
-SaveYourselfPhase2CB (SmcConn smcConn2, SmPointer clientData)
+SaveYourselfPhase2CB (SmcConn smcConn2, SmPointer clientData _X_UNUSED)
{
int scrnum;
ScreenInfo *theScreen;
@@ -899,11 +899,11 @@ SaveYourselfPhase2CB (SmcConn smcConn2, SmPointer clientData)
static void
SaveYourselfCB (
SmcConn smcConn2,
- SmPointer clientData,
- int saveType,
- Bool shutdown,
- int interactStyle,
- Bool fast)
+ SmPointer clientData _X_UNUSED,
+ int saveType _X_UNUSED,
+ Bool shutdown _X_UNUSED,
+ int interactStyle _X_UNUSED,
+ Bool fast _X_UNUSED)
{
if (!SmcRequestSaveYourselfPhase2 (smcConn2, SaveYourselfPhase2CB, NULL))
{
@@ -917,7 +917,7 @@ SaveYourselfCB (
static void
-DieCB (SmcConn smcConn2, SmPointer clientData)
+DieCB (SmcConn smcConn2, SmPointer clientData _X_UNUSED)
{
SmcCloseConnection (smcConn2, 0, NULL);
XtRemoveInput (iceInputId);
@@ -927,7 +927,7 @@ DieCB (SmcConn smcConn2, SmPointer clientData)
static void
-SaveCompleteCB (SmcConn smcConnm, SmPointer clientData)
+SaveCompleteCB (SmcConn smcConnm _X_UNUSED, SmPointer clientData _X_UNUSED)
{
;
}
@@ -935,7 +935,7 @@ SaveCompleteCB (SmcConn smcConnm, SmPointer clientData)
static void
-ShutdownCancelledCB (SmcConn smcConn2, SmPointer clientData)
+ShutdownCancelledCB (SmcConn smcConn2, SmPointer clientData _X_UNUSED)
{
if (!sent_save_done)
{
@@ -947,7 +947,7 @@ ShutdownCancelledCB (SmcConn smcConn2, SmPointer clientData)
static void
-ProcessIceMsgProc (XtPointer client_data, int *source, XtInputId *id)
+ProcessIceMsgProc (XtPointer client_data, int *source _X_UNUSED, XtInputId *id _X_UNUSED)
{
IceConn ice_conn = (IceConn) client_data;