From f7d30133221896638f7bf4f66c504255c4b14f48 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 2 Jan 2020 21:01:38 +0100 Subject: Issue #1338 - Part 1: Update NSPR to 4.24 --- nsprpub/pr/tests/stat.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'nsprpub/pr/tests/stat.c') 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()"); -- cgit v1.2.3