diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-04-07 13:57:30 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-04-07 13:57:30 +0000 |
commit | 665446c10d38563ec8355261ac848448450f5429 (patch) | |
tree | 8fdf33419e98508e6b8b3e2306f99925d0fbf6bd /c/src/lib/libbsp/sparc/shared/spw | |
parent | changes to support GW_LCFM (diff) | |
download | rtems-665446c10d38563ec8355261ac848448450f5429.tar.bz2 |
2010-04-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/spw/grspw_rasta.c: Guard prototype of
grspw_rasta_calc_memoffs in #ifdef GRSPW_STATIC_MEM to avoid
warning.
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/spw')
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/spw/grspw_rasta.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/spw/grspw_rasta.c b/c/src/lib/libbsp/sparc/shared/spw/grspw_rasta.c index 756a51b1d5..6cd5698f44 100644 --- a/c/src/lib/libbsp/sparc/shared/spw/grspw_rasta.c +++ b/c/src/lib/libbsp/sparc/shared/spw/grspw_rasta.c @@ -70,7 +70,9 @@ static inline unsigned int memarea_to_hw(unsigned int addr) { void (*grspw_rasta_int_reg)(void *handler, int irq, void *arg) = 0; +#ifdef GRSPW_STATIC_MEM static int grspw_rasta_calc_memoffs(int maxcores, int corenum, unsigned int *mem_base, unsigned int *mem_end, unsigned int *bdtable_base); +#endif int grspw_rasta_interrupt_handler(unsigned int status); |