[OpenBIOS] [PATCH v2] Introduce forth_init() for trampoline initialization
Andreas Färber
andreas.faerber at web.de
Sat Nov 13 13:40:50 CET 2010
Am 13.11.2010 um 12:35 schrieb Blue Swirl:
> On Sat, Nov 13, 2010 at 11:09 AM, Andreas Färber <andreas.faerber at web.de
> > wrote:
>> diff --git a/include/kernel/kernel.h b/include/kernel/kernel.h
>> index 15605b5..c887e24 100644
>> --- a/include/kernel/kernel.h
>> +++ b/include/kernel/kernel.h
>> @@ -32,6 +32,8 @@ extern void panic(const char *error)
>> __attribute__ ((noreturn));
>>
>> extern xt_t findword(const char *s1);
>> extern void modules_init( void );
>> +extern void init_trampoline(ucell *t);
>> +extern void forth_init(void);
>
> 'extern' is useless qualifier for function declarations. It's used a
> lot here, though.
I thought it used to make a difference on Windows (Microsoft VS6?) and
possibly BeOS (Metrowerks toolchain), which used funky macros for
shared headers...
Given that it's used for the host as well I'd prefer to leave it for
now, to get ppc64 compilable for testing the other series.
Andreas
More information about the OpenBIOS
mailing list