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


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