Patch - Remove restrict from TRAD_SYNOPSIS
Craig Howland
howland@LGSInnovations.com
Tue Nov 26 19:59:00 GMT 2013
On 11/26/2013 10:03 AM, Corinna Vinschen wrote:
> On Nov 26 08:35, Joel Sherrill wrote:
>> Hi
>>
>> I was concerned that restrict might have accidentally slipped
>> into TRAD_SYNOPSIS sections of the documentation. I ran this
>> command to get the files to check. If this isn't the best idea,
>> let me know:
>>
>> find . -name "*.c" | xargs -e grep -l __restrict | xargs -e grep -l
>> "TRAD_SYN"
>>
>> That produced a list of 30 files to check. I didn't spot any
>> with restrict in the traditional synopsis. But I did spot a
>> number of places where the prototype was over 80 columns.
>> The attached patch addresses that.
>>
>> I compiled for sparc-rtems, build docs, and built RTEMS.
>>
>> OK to commit?
>>
> Yes.
>
Fixing anything in the TRAD_SYNOPSIS sections is a waste of time, as they are
ignored by the documentation generation, which uses only the ANSI_SYNOPSIS
section. If anything is to be done, the TRAD_SYNOPSIS sections should be
removed to stop people from wasting time on them.
More information about the Newlib
mailing list