aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/w32.c b/src/w32.c
index 431826c4b82..6933ddfed83 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -2394,7 +2394,7 @@ get_emacs_configuration_options (void)
2394#include <sys/timeb.h> 2394#include <sys/timeb.h>
2395 2395
2396/* Emulate gettimeofday (Ulrich Leodolter, 1/11/95). */ 2396/* Emulate gettimeofday (Ulrich Leodolter, 1/11/95). */
2397void 2397int
2398gettimeofday (struct timeval *tv, struct timezone *tz) 2398gettimeofday (struct timeval *tv, struct timezone *tz)
2399{ 2399{
2400 struct _timeb tb; 2400 struct _timeb tb;
@@ -2413,6 +2413,7 @@ gettimeofday (struct timeval *tv, struct timezone *tz)
2413 tz->tz_minuteswest = tb.timezone; /* minutes west of Greenwich */ 2413 tz->tz_minuteswest = tb.timezone; /* minutes west of Greenwich */
2414 tz->tz_dsttime = tb.dstflag; /* type of dst correction */ 2414 tz->tz_dsttime = tb.dstflag; /* type of dst correction */
2415 } 2415 }
2416 return 0;
2416} 2417}
2417 2418
2418/* Emulate fdutimens. */ 2419/* Emulate fdutimens. */