Patch - Add restrict to regex.h

Joel Sherrill joel.sherrill@oarcorp.com
Wed Nov 20 16:26:00 GMT 2013


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



More information about the Newlib mailing list