From 89b85e510043235a115fe02b4ea97712a23cfd2b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 16 Jul 2010 08:46:29 +0000 Subject: 2010-07-16 Sebastian Huber * rtems/score/cpu.h: Include first. * rtems/score/types.h: Use header file. --- cpukit/score/cpu/bfin/rtems/score/cpu.h | 4 +--- cpukit/score/cpu/bfin/rtems/score/types.h | 11 ++--------- 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'cpukit/score/cpu/bfin/rtems/score') diff --git a/cpukit/score/cpu/bfin/rtems/score/cpu.h b/cpukit/score/cpu/bfin/rtems/score/cpu.h index c688eb2686..a6b73e1b57 100644 --- a/cpukit/score/cpu/bfin/rtems/score/cpu.h +++ b/cpukit/score/cpu/bfin/rtems/score/cpu.h @@ -25,10 +25,8 @@ extern "C" { #endif -#include /* pick up machine definitions */ -#ifndef ASM #include -#endif +#include /* conditional compilation parameters */ diff --git a/cpukit/score/cpu/bfin/rtems/score/types.h b/cpukit/score/cpu/bfin/rtems/score/types.h index 5d7f084c79..b572f89e2d 100644 --- a/cpukit/score/cpu/bfin/rtems/score/types.h +++ b/cpukit/score/cpu/bfin/rtems/score/types.h @@ -15,10 +15,9 @@ #ifndef _RTEMS_SCORE_TYPES_H #define _RTEMS_SCORE_TYPES_H -#ifndef ASM +#include -#include -#include +#ifndef ASM #ifdef __cplusplus extern "C" { @@ -37,12 +36,6 @@ typedef void blackfin_isr; /** This defines the prototype for an ISR entry point. */ typedef blackfin_isr ( *blackfin_isr_entry )( void ); -#ifdef RTEMS_DEPRECATED_TYPES -typedef bool boolean; /* Boolean value */ -typedef float single_precision; /* single precision float */ -typedef double double_precision; /* double precision float */ -#endif - #ifdef __cplusplus } #endif -- cgit v1.2.3