summaryrefslogtreecommitdiff
path: root/nt/inc/sys
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-03-28 22:51:26 +0200
committerEli Zaretskii <eliz@gnu.org>2013-03-28 22:51:26 +0200
commit5d611e04506c5d34c823ea06fc4b27ff715a493e (patch)
tree7ff31eb069b445f8bb880e1c1bc681bee73419bf /nt/inc/sys
parent97dababa47e5b2133f18f05f415dcf42c7066f84 (diff)
downloademacs-5d611e04506c5d34c823ea06fc4b27ff715a493e.tar.gz
emacs-5d611e04506c5d34c823ea06fc4b27ff715a493e.tar.bz2
emacs-5d611e04506c5d34c823ea06fc4b27ff715a493e.zip
Use 'restrict' in gettimeofday arguments, and make ms-w32.h compatible.
Diffstat (limited to 'nt/inc/sys')
-rw-r--r--nt/inc/sys/time.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nt/inc/sys/time.h b/nt/inc/sys/time.h
index 391898ef122..87ad9d3ff0d 100644
--- a/nt/inc/sys/time.h
+++ b/nt/inc/sys/time.h
@@ -36,8 +36,9 @@ struct timezone
#endif
/* This needs to be compatible with Posix signature, in order to pass
- the configure test for the type of the second argument. */
-int gettimeofday (struct timeval *, struct timezone *);
+ the configure test for the type of the second argument. See
+ m4/gettimeofday.m4. */
+int gettimeofday (struct timeval *restrict, struct timezone *restrict);
#define ITIMER_REAL 0
#define ITIMER_PROF 1