From 77b1de22cc5ad04d6a17e88afefd6629aa6e3e43 Mon Sep 17 00:00:00 2001 From: Bryan Dunsmore Date: Fri, 22 Nov 2013 17:09:44 -0600 Subject: gettimeofday: Add restrict keyword --- cpukit/libcsupport/src/__gettod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libcsupport/src/__gettod.c') 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; */ -- cgit v1.2.3