summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/__gettod.c
diff options
context:
space:
mode:
authorBryan Dunsmore <dunsmoreb@gmail.com>2013-11-22 17:09:44 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-29 17:24:41 -0600
commit77b1de22cc5ad04d6a17e88afefd6629aa6e3e43 (patch)
tree5cb51ead13e1384a8eaf4811a229f7c644390908 /cpukit/libcsupport/src/__gettod.c
parentlibcsupport: readlink: add c99 'restrict' keyword (diff)
downloadrtems-77b1de22cc5ad04d6a17e88afefd6629aa6e3e43.tar.bz2
gettimeofday: Add restrict keyword
Diffstat (limited to 'cpukit/libcsupport/src/__gettod.c')
-rw-r--r--cpukit/libcsupport/src/__gettod.c4
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; */