summaryrefslogtreecommitdiffstats
path: root/win/tclWinTime.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-31 08:59:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-31 08:59:28 (GMT)
commit4a9ae53836f768d0b615e5f98cedfb9dd5fbac7f (patch)
treedc374756a9260acda12b9b8afc397affcb7c3f9c /win/tclWinTime.c
parent60c071ed625b30818a7151b4e77272f8fe55edb3 (diff)
downloadtcl-4a9ae53836f768d0b615e5f98cedfb9dd5fbac7f.zip
tcl-4a9ae53836f768d0b615e5f98cedfb9dd5fbac7f.tar.gz
tcl-4a9ae53836f768d0b615e5f98cedfb9dd5fbac7f.tar.bz2
More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, preventing a (char *) type case. No functional changes.
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r--win/tclWinTime.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c
index e1aff48..db05cad 100644
--- a/win/tclWinTime.c
+++ b/win/tclWinTime.c
@@ -252,7 +252,7 @@ TclpGetWideClicks(void)
/*
* The frequency of the performance counter is fixed at system boot and
- * is consistent across all processors. Therefore, the frequency need
+ * is consistent across all processors. Therefore, the frequency need
* only be queried upon application initialization.
*/
if (QueryPerformanceFrequency(&perfCounterFreq)) {
@@ -263,7 +263,7 @@ TclpGetWideClicks(void)
wideClick.perfCounter = 0;
wideClick.microsecsScale = 1;
}
-
+
wideClick.initialized = 1;
}
if (wideClick.perfCounter) {
@@ -284,7 +284,7 @@ TclpGetWideClicks(void)
*
* TclpWideClickInMicrosec --
*
- * This procedure return scale to convert wide click values from the
+ * This procedure return scale to convert wide click values from the
* TclpGetWideClicks native resolution to microsecond resolution
* and back.
*
@@ -323,7 +323,7 @@ TclpWideClickInMicrosec(void)
*----------------------------------------------------------------------
*/
-Tcl_WideInt
+Tcl_WideInt
TclpGetMicroseconds(void)
{
Tcl_WideInt usecSincePosixEpoch;