summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-24 20:03:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-24 20:03:03 (GMT)
commitffdd95d4a34bf51846585ceab3d84535a09daefe (patch)
tree2db4f00fd85b6b9820db6ca7285ed75969c5496b
parentcb9018a721f8b149c7add1abdda5826c9385c501 (diff)
downloadtcl-ffdd95d4a34bf51846585ceab3d84535a09daefe.zip
tcl-ffdd95d4a34bf51846585ceab3d84535a09daefe.tar.gz
tcl-ffdd95d4a34bf51846585ceab3d84535a09daefe.tar.bz2
Missing keyword: "static"
-rw-r--r--generic/tclCmdMZ.c4
-rw-r--r--unix/tclUnixNotfy.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c
index a82da3b..bc03d73 100644
--- a/generic/tclCmdMZ.c
+++ b/generic/tclCmdMZ.c
@@ -4194,7 +4194,7 @@ Tcl_TimeRateObjCmd(
}
codePtr = TclCompileObj(interp, objPtr, NULL, 0);
TclPreserveByteCode(codePtr);
- /*
+ /*
* Replace last compiled done instruction with continue: it's a part of
* iteration, this way evaluation will be more similar to a cycle (also
* avoids extra overhead to set result to interp, etc.)
@@ -4366,7 +4366,7 @@ Tcl_TimeRateObjCmd(
Tcl_WideUInt usec, val;
int digits;
- /*
+ /*
* Absolute execution time in microseconds or in wide clicks.
*/
usec = (Tcl_WideUInt)(middle - start);
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index e7ea7a1..db62f73 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -160,8 +160,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.
*