summaryrefslogtreecommitdiff
path: root/fitz/util_gettimeofday.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-06-29 22:58:55 +0200
committerTor Andersson <tor@ghostscript.com>2010-06-29 22:58:55 +0200
commit47375231d93cc5158a5ea18a7868409c1d5c3686 (patch)
tree491d2efce6642edee823d47e4f8de8792236b384 /fitz/util_gettimeofday.c
parent7748021cc09a52fbb12fc33d7e84806890394249 (diff)
downloadmupdf-47375231d93cc5158a5ea18a7868409c1d5c3686.tar.xz
Reformat to remove all instances of double spaces (to easier spot indentation errors in the future).
Diffstat (limited to 'fitz/util_gettimeofday.c')
-rw-r--r--fitz/util_gettimeofday.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fitz/util_gettimeofday.c b/fitz/util_gettimeofday.c
index 21f62f26..c016902e 100644
--- a/fitz/util_gettimeofday.c
+++ b/fitz/util_gettimeofday.c
@@ -5,15 +5,15 @@
#include <windows.h>
#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)
-#define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64
+#define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64
#else
-#define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL
+#define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL
#endif
struct timezone
{
- int tz_minuteswest; /* minutes W of Greenwich */
- int tz_dsttime; /* type of dst correction */
+ int tz_minuteswest; /* minutes W of Greenwich */
+ int tz_dsttime; /* type of dst correction */
};
int gettimeofday(struct timeval *tv, struct timezone *tz)
@@ -30,7 +30,7 @@ int gettimeofday(struct timeval *tv, struct timezone *tz)
tmpres <<= 32;
tmpres |= ft.dwLowDateTime;
- tmpres /= 10; /*convert into microseconds*/
+ tmpres /= 10; /*convert into microseconds*/
/*converting file time to unix epoch*/
tmpres -= DELTA_EPOCH_IN_MICROSECS;
tv->tv_sec = (long)(tmpres / 1000000UL);