diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-08-08 11:27:06 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-08-08 11:27:06 +0000 |
commit | a19dd352f7e9d03035365a11a86094ba3ba3a495 (patch) | |
tree | b0373a2e5a50197c5236814306938cc8182ec584 /cpukit/score | |
parent | 2002-08-07 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-a19dd352f7e9d03035365a11a86094ba3ba3a495.tar.bz2 |
2002-08-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpu.c: Move pointer into #ifdef to avoid compiler warning.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/cpu/sparc/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc/cpu.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/cpukit/score/cpu/sparc/ChangeLog b/cpukit/score/cpu/sparc/ChangeLog index d3e8418e87..38c108567c 100644 --- a/cpukit/score/cpu/sparc/ChangeLog +++ b/cpukit/score/cpu/sparc/ChangeLog @@ -1,3 +1,7 @@ +2002-08-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * cpu.c: Move pointer into #ifdef to avoid compiler warning. + 2002-07-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel. diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c index 7fb8d58bc1..3f7e8dcbe3 100644 --- a/cpukit/score/cpu/sparc/cpu.c +++ b/cpukit/score/cpu/sparc/cpu.c @@ -53,9 +53,8 @@ void _CPU_Initialize( void (*thread_dispatch) /* ignored on this CPU */ ) { - void *pointer; - #if (SPARC_HAS_FPU == 1) + void *pointer; /* * This seems to be the most appropriate way to obtain an initial |