summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixNotfy.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-23 13:00:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-23 13:00:47 (GMT)
commita5048e8dd92669687e9e6a3e5e040477366a5b69 (patch)
tree14fc254a3b62a1b608d07608c6b3aab3fe073d5a /unix/tclUnixNotfy.c
parent94b338844e5af1659858a5446714c65fcbaecf54 (diff)
parenta5448b6c8bdb4aeac833b411b94637047889cbd8 (diff)
downloadtcl-a5048e8dd92669687e9e6a3e5e040477366a5b69.zip
tcl-a5048e8dd92669687e9e6a3e5e040477366a5b69.tar.gz
tcl-a5048e8dd92669687e9e6a3e5e040477366a5b69.tar.bz2
Make everything compile warning-free when TCL_THREADS=0
Diffstat (limited to 'unix/tclUnixNotfy.c')
-rw-r--r--unix/tclUnixNotfy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index e7e70ef..943e7d7 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -105,7 +105,7 @@ StartNotifierThread(
void
TclpAlertNotifier(
- ClientData clientData)
+ void *clientData)
{
#ifdef NOTIFIER_SELECT
#if TCL_THREADS
@@ -120,6 +120,8 @@ TclpAlertNotifier(
pthread_cond_broadcast(&tsdPtr->waitCV);
# endif /* __CYGWIN__ */
pthread_mutex_unlock(&notifierMutex);
+#else
+ (void)clientData;
#endif /* TCL_THREADS */
#else /* !NOTIFIER_SELECT */
ThreadSpecificData *tsdPtr = (ThreadSpecificData *) clientData;