lkml.org 
[lkml]   [2003]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.0-test1-mm2
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [from the cache]
©2003-2011 Jasper Spaans