summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/tests/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/tests/stat.c')
-rw-r--r--nsprpub/pr/tests/stat.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/nsprpub/pr/tests/stat.c b/nsprpub/pr/tests/stat.c
index c570056f8..1f870a0d4 100644
--- a/nsprpub/pr/tests/stat.c
+++ b/nsprpub/pr/tests/stat.c
@@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
- * Program to test different ways to get file info; right now it
+ * Program to test different ways to get file info; right now it
* only works for solaris and OS/2.
*
*/
@@ -35,9 +35,9 @@ static void statPRStat(void)
{
PRFileInfo finfo;
PRInt32 index = count;
-
- for (;index--;) {
- PR_GetFileInfo(filename, &finfo);
+
+ for (; index--;) {
+ PR_GetFileInfo(filename, &finfo);
}
}
@@ -45,8 +45,8 @@ static void statStat(void)
{
struct stat finfo;
PRInt32 index = count;
-
- for (;index--;) {
+
+ for (; index--;) {
stat(filename, &finfo);
}
}
@@ -75,9 +75,9 @@ int main(int argc, char **argv)
PR_STDIO_INIT();
if (argc > 1) {
- count = atoi(argv[1]);
+ count = atoi(argv[1]);
} else {
- count = DEFAULT_COUNT;
+ count = DEFAULT_COUNT;
}
Measure(statPRStat, "time to call PR_GetFileInfo()");