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 - Remove restrict from TRAD_SYNOPSIS



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.


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