This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [doc RFA] Switch to GCC coding style [Re: [patch] initial OpenCL C language support]


On Tue, Nov 2, 2010 at 10:22 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Tue, 02 Nov 2010 18:04:39 +0100, Doug Evans wrote:
>> There are lots of things on the gcc codingconventions page that need
>> to be converted (e.g., gcc_assert),
>
> Done.
>
>> or revised (e.g., prototypes for _initialize_foo fns can appear in .c files
>> (and should *only* appear in .c files)).
>
> I do not see a current GDB doc problem with this (+it may be offtopic for this
> patch).

For reference sake I was referring to this text:
"Function prototypes for extern functions should only occur in header files."

But I see that gdbint.texinfo already does mention this exception.
My reason for mentioning it is that I suspect there are more.
Could be wrong of course.

[For reference sake, don't wait for my approval.
I'm just making suggestions (in this particular case :-)).]


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