aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2013-03-28 22:51:26 +0200
committerEli Zaretskii2013-03-28 22:51:26 +0200
commit5d611e04506c5d34c823ea06fc4b27ff715a493e (patch)
tree7ff31eb069b445f8bb880e1c1bc681bee73419bf /src
parent97dababa47e5b2133f18f05f415dcf42c7066f84 (diff)
downloademacs-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32.c b/src/w32.c
index 6933ddfed83..0fa5970124a 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -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). */
2397int 2397int
2398gettimeofday (struct timeval *tv, struct timezone *tz) 2398gettimeofday (struct timeval *restrict tv, struct timezone *restrict tz)
2399{ 2399{
2400 struct _timeb tb; 2400 struct _timeb tb;
2401 _ftime (&tb); 2401 _ftime (&tb);