summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-18 10:23:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-18 10:23:24 (GMT)
commit39a4505f7ed7cdb4cbd148aa62775e81ecbe5dc0 (patch)
treef42972f67d7100178a8b287adf3291a8dc886be3 /unix
parent205419d4b7c3801fe37ae41bceba18fc3b230308 (diff)
downloadtcl-39a4505f7ed7cdb4cbd148aa62775e81ecbe5dc0.zip
tcl-39a4505f7ed7cdb4cbd148aa62775e81ecbe5dc0.tar.gz
tcl-39a4505f7ed7cdb4cbd148aa62775e81ecbe5dc0.tar.bz2
Fix mp_cnt_lsb() signature, so it matches the signature used in Tcl. Add two missing "static" keywords in tclUnixNotfy.c. Remove some more files in libtommath directory which are not useful for Tcl.
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixNotfy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index 1457890..a8dbebe 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -152,8 +152,8 @@ static int triggerPipe = -1;
* The notifierMutex locks access to all of the global notifier state.
*/
-pthread_mutex_t notifierInitMutex = PTHREAD_MUTEX_INITIALIZER;
-pthread_mutex_t notifierMutex = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t notifierInitMutex = PTHREAD_MUTEX_INITIALIZER;
+static pthread_mutex_t notifierMutex = PTHREAD_MUTEX_INITIALIZER;
/*
* The following static indicates if the notifier thread is running.
*