aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/kmp_stub.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2017-09-27 20:36:27 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2017-09-27 20:36:27 +0000
commit5b33aeb20780d7027f9204c74651de35eaefe3de (patch)
tree1bd50aee310cc17f1084d5388acac0dff421d359 /runtime/src/kmp_stub.cpp
parent1957e1bc23518b058a87e3a1c5ca5b437c344351 (diff)
Remove unnecessary semicolons
Removes semicolons after if {} blocks, function definitions, etc. I was able to apply the large OMPT patch cleanly on top of this one with no conflicts. git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@314340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/src/kmp_stub.cpp')
-rw-r--r--runtime/src/kmp_stub.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/runtime/src/kmp_stub.cpp b/runtime/src/kmp_stub.cpp
index a0912ab..6f922ba 100644
--- a/runtime/src/kmp_stub.cpp
+++ b/runtime/src/kmp_stub.cpp
@@ -72,13 +72,13 @@ static size_t __kmps_init() {
BOOL status = QueryPerformanceFrequency(&freq);
if (status) {
frequency = double(freq.QuadPart);
- }; // if
+ }
#endif
initialized = 1;
- }; // if
+ }
return dummy;
-}; // __kmps_init
+} // __kmps_init
#define i __kmps_init();
@@ -272,8 +272,8 @@ double __kmps_get_wtime(void) {
BOOL status = QueryPerformanceCounter(&now);
if (status) {
wtime = double(now.QuadPart) / frequency;
- }; // if
- }; // if
+ }
+ }
#else
// gettimeofday() returns seconds and microseconds since the Epoch.
struct timeval tval;
@@ -283,10 +283,10 @@ double __kmps_get_wtime(void) {
wtime = (double)(tval.tv_sec) + 1.0E-06 * (double)(tval.tv_usec);
} else {
// TODO: Assert or abort here.
- }; // if
+ }
#endif
return wtime;
-}; // __kmps_get_wtime
+} // __kmps_get_wtime
double __kmps_get_wtick(void) {
// Number of seconds between successive clock ticks.
@@ -304,13 +304,13 @@ double __kmps_get_wtick(void) {
} else {
// TODO: Assert or abort here.
wtick = 1.0E-03;
- }; // if
+ }
}
#else
// TODO: gettimeofday() returns in microseconds, but what the precision?
wtick = 1.0E-06;
#endif
return wtick;
-}; // __kmps_get_wtick
+} // __kmps_get_wtick
// end of file //