This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Require extern modifier for function prototypes in headers.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: gdb-patches at sourceware dot org, "'Eli Zaretskii'" <eliz at gnu dot org>
- Date: Sat, 22 Dec 2012 13:53:47 +0100
- Subject: Re: [RFC] Require extern modifier for function prototypes in headers.
On Wed, 19 Dec 2012 12:24:56 +0100, Pierre Muller wrote:
> Joel proposed that I added a change to GDB coding styles.
It was me, that we do not put it into Joel's mouth.
On Wed, 19 Dec 2012 22:48:11 +0100, Pierre Muller wrote:
> > DeÂ: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> > owner@sourceware.org] De la part de Eli Zaretskii
[...]
> > If all declarations must be external, the _initialize_* case is no
> > longer special, so the second sentence should go away, IMO.
>
> I thought that it was still special in the sense that they
> are the only non-static functions that are not declared in headers,
> but only inside the C source itself.
I agree with the technical part said by Pierre here. So the doc change seems
approved to me that way.
Thanks,
Jan