From a9cb0b090536ee0d7c743c467b9cbcb44af66472 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 11 Sep 2008 14:12:52 +0000 Subject: =?UTF-8?q?2008-09-11=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * rtems/include/rtems/rtems/types.h: Do not define rtems_boolean, rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given. --- cpukit/rtems/include/rtems/rtems/types.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cpukit/rtems/include/rtems/rtems/types.h') diff --git a/cpukit/rtems/include/rtems/rtems/types.h b/cpukit/rtems/include/rtems/rtems/types.h index 0eb53c30bb..d3907d20e4 100644 --- a/cpukit/rtems/include/rtems/rtems/types.h +++ b/cpukit/rtems/include/rtems/rtems/types.h @@ -24,10 +24,6 @@ */ /**@{*/ -#ifdef __cplusplus -extern "C" { -#endif - /* * RTEMS basic type definitions */ @@ -44,7 +40,12 @@ extern "C" { #include #endif +#ifdef __cplusplus +extern "C" { +#endif + /** This type defines a single precision float. */ +#ifdef RTEMS_DEPRECATED_TYPES typedef single_precision rtems_single; /** This type defines a double precision float. */ @@ -52,6 +53,7 @@ typedef double_precision rtems_double; /** This type defines the RTEMS boolean type . */ typedef boolean rtems_boolean; +#endif /** This type defines is for Classic API object names. */ typedef uint32_t rtems_name; -- cgit v1.2.3