diff options
| author | Eli Zaretskii | 2013-03-28 22:51:26 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-03-28 22:51:26 +0200 |
| commit | 5d611e04506c5d34c823ea06fc4b27ff715a493e (patch) | |
| tree | 7ff31eb069b445f8bb880e1c1bc681bee73419bf /src | |
| parent | 97dababa47e5b2133f18f05f415dcf42c7066f84 (diff) | |
| download | emacs-5d611e04506c5d34c823ea06fc4b27ff715a493e.tar.gz emacs-5d611e04506c5d34c823ea06fc4b27ff715a493e.zip | |
Use 'restrict' in gettimeofday arguments, and make ms-w32.h compatible.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2395,7 +2395,7 @@ get_emacs_configuration_options (void) | |||
| 2395 | 2395 | ||
| 2396 | /* Emulate gettimeofday (Ulrich Leodolter, 1/11/95). */ | 2396 | /* Emulate gettimeofday (Ulrich Leodolter, 1/11/95). */ |
| 2397 | int | 2397 | int |
| 2398 | gettimeofday (struct timeval *tv, struct timezone *tz) | 2398 | gettimeofday (struct timeval *restrict tv, struct timezone *restrict tz) |
| 2399 | { | 2399 | { |
| 2400 | struct _timeb tb; | 2400 | struct _timeb tb; |
| 2401 | _ftime (&tb); | 2401 | _ftime (&tb); |