Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-23 05:25:47 +0400
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-23 05:25:47 +0400
commit9cd69d84efeb1fbbc59b468760be13430b585964 (patch)
tree7b063b08271195251c55353394c5314b5ba70eca /newlib/libc/include
parent849fe25d0e50b015bcbe531113cd400ca0b8269a (diff)
2013-11-22 Bryan Dunsmore <dunsmoreb@gmail.com>
* libc/include/sys/time.h (gettimeofday): Add restrict keyword. (setitimer): Likewise. * libc/sys/rdos/gettod.c (gettimeofday): Likewise. * libc/sys/rtems/crt0.c (gettimeofday): Likewise.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/sys/time.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/newlib/libc/include/sys/time.h b/newlib/libc/include/sys/time.h
index 120ef553a..19325804b 100644
--- a/newlib/libc/include/sys/time.h
+++ b/newlib/libc/include/sys/time.h
@@ -74,12 +74,13 @@ struct itimerval {
int _EXFUN(_gettimeofday, (struct timeval *__p, void *__tz));
#endif
-int _EXFUN(gettimeofday, (struct timeval *__p, void *__tz));
+int _EXFUN(gettimeofday, (struct timeval *__restrict __p,
+ void *__restrict __tz));
int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *));
int _EXFUN(utimes, (const char *__path, const struct timeval *__tvp));
int _EXFUN(getitimer, (int __which, struct itimerval *__value));
-int _EXFUN(setitimer, (int __which, const struct itimerval *__value,
- struct itimerval *__ovalue));
+int _EXFUN(setitimer, (int __which, const struct itimerval *__restrict __value,
+ struct itimerval *__restrict __ovalue));
#ifdef __cplusplus
}