Patch - Add restrict to regex.h
Craig Howland
howland@LGSInnovations.com
Wed Nov 20 16:18:00 GMT 2013
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.
Craig
More information about the Newlib
mailing list