[PATCH][BZ 17979][BZ 17721] Fix issues with sys/cdefs.h and uchar.h when using non-gcc compiler.

Joseph Myers joseph@codesourcery.com
Thu Jan 28 22:52:00 GMT 2016


On Thu, 28 Jan 2016, Dwight Guth wrote:

> Okay but if so, then why put the __restrict in the header files at all
> if it doesn't really matter? And why put it there only if the compiler
> is gcc?

Effectively it serves as documentation of intent for people reading the 
headers (much like the argument names with __ prefixes).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list