From a19dd352f7e9d03035365a11a86094ba3ba3a495 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 8 Aug 2002 11:27:06 +0000 Subject: 2002-08-08 Ralf Corsepius * cpu.c: Move pointer into #ifdef to avoid compiler warning. --- cpukit/score/cpu/sparc/ChangeLog | 4 ++++ cpukit/score/cpu/sparc/cpu.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'cpukit/score') 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 + + * cpu.c: Move pointer into #ifdef to avoid compiler warning. + 2002-07-26 Ralf Corsepius * 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 -- cgit v1.2.3