diff options
author | Bryan Dunsmore <dunsmoreb@gmail.com> | 2013-11-22 17:09:44 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-29 17:24:41 -0600 |
commit | 77b1de22cc5ad04d6a17e88afefd6629aa6e3e43 (patch) | |
tree | 5cb51ead13e1384a8eaf4811a229f7c644390908 /cpukit/libcsupport/src | |
parent | libcsupport: readlink: add c99 'restrict' keyword (diff) | |
download | rtems-77b1de22cc5ad04d6a17e88afefd6629aa6e3e43.tar.bz2 |
gettimeofday: Add restrict keyword
Diffstat (limited to 'cpukit/libcsupport/src')
-rw-r--r-- | cpukit/libcsupport/src/__gettod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/__gettod.c b/cpukit/libcsupport/src/__gettod.c index fe913dcc54..de31e9baad 100644 --- a/cpukit/libcsupport/src/__gettod.c +++ b/cpukit/libcsupport/src/__gettod.c @@ -38,8 +38,8 @@ * @note The solaris gettimeofday does not have a second parameter. */ int gettimeofday( - struct timeval *tp, - void * __tz __attribute__((unused)) + struct timeval *__restrict tp, + void *__restrict __tz __attribute__((unused)) ) { /* struct timezone* tzp = (struct timezone*) __tz; */ |