Re: 2.6.0-test1-mm2

From: David S. Miller (davem@redhat.com)
Date: Sat Jul 19 2003 - 23:30:38 EST


On Sat, 19 Jul 2003 21:27:15 -0700
Andrew Morton <akpm@osdl.org> wrote:

> Joshua Kwan <joshk@triplehelix.org> wrote:
> > /* References to section boundaries */
> > -extern char _text, _etext, _edata, __bss_start, _end;
> > +extern char _text[], _etext[], _edata[], __bss_start[], _end[];
>
> No, the declaration simply needs to be deleted; it is already provided by
> asm/sections.h.
>
> Incorrectly, I believe. Those symbols are conventionally "extern int".

True, from some perspective.

But you have to admit the pointer math gets real ugly if we declare
them in that way. :-)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:39 EST