This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch - Add restrict to sys/time.h


There is a typo in this patch. See v2 attached.
Is v2 OK to commit?

And .. v1 accidentally changed _gettimeofday to
gettimeofday in the prototype. Which makes me
ask if the system call _gettimeofday should
have restrict added?

It appears in 44 files in libgloss and libc
if that helps the decision.

On 11/22/2013 4:45 PM, Joel Sherrill wrote:
> Hi
> 
> Another in the adding restrict keyword series from
> Google Code-In Students.
> 
> OK to commit?
> 
> 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.
> 
> 



-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

Attachment: time-newlib-joel-v2.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]