summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/src/misc/prinrval.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/src/misc/prinrval.c')
-rw-r--r--nsprpub/pr/src/misc/prinrval.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/nsprpub/pr/src/misc/prinrval.c b/nsprpub/pr/src/misc/prinrval.c
index 50a938b52..79ff2cbca 100644
--- a/nsprpub/pr/src/misc/prinrval.c
+++ b/nsprpub/pr/src/misc/prinrval.c
@@ -4,8 +4,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
- * file: prinrval.c
- * description: implementation for the kernel interval timing functions
+ * file: prinrval.c
+ * description: implementation for the kernel interval timing functions
*/
#include "primpl.h"
@@ -34,13 +34,17 @@ void _PR_InitClock(void)
PR_IMPLEMENT(PRIntervalTime) PR_IntervalNow(void)
{
- if (!_pr_initialized) _PR_ImplicitInitialization();
+ if (!_pr_initialized) {
+ _PR_ImplicitInitialization();
+ }
return _PR_MD_GET_INTERVAL();
} /* PR_IntervalNow */
PR_EXTERN(PRUint32) PR_TicksPerSecond(void)
{
- if (!_pr_initialized) _PR_ImplicitInitialization();
+ if (!_pr_initialized) {
+ _PR_ImplicitInitialization();
+ }
return _PR_MD_INTERVAL_PER_SEC();
} /* PR_TicksPerSecond */