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 regex.h


On 11/20/2013 10:17 AM, Craig Howland wrote:
> On 11/20/2013 10:56 AM, Joel Sherrill wrote:
>> Hi
>>
>> Another patch in the restrict series from Google Code-In
>> students.
>>
>> I am building sparc-rtems and "make info".
>>
>> How does this look?2013-11-20  Chirayu Desai  <chirayudesai1@gmail.com>
>>
>> 	* libc/include/regex.h, libc/posix/regcomp.c,
>> 	libc/posix/regerror.c, libc/posix/regex.3
>> 	libc/posix/regexec.c: Add restrict keyword.
>>
> The man page should be using "restrict" versus "__restrict".  The latter is an 
> internal thing to make it easier to leave out for ancient compilers.  It does 
> not seem right to confuse man page readers with the underscores.

OK. I updated our instructions to note this.

Committing with this change.

Thanks Craig.

> Craig
> 



-- 
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


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