diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/types.h | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 600cf11001..5f6786c920 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-09-11 Ralf Corsépius <ralf.corsepius@rtems.org> + + * rtems/include/rtems/rtems/types.h: Do not define rtems_boolean, + rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given. + 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com> * configure.ac, aclocal/canonical-target-name.m4: Readd NIOS2 and TI 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 <rtems/score/mppkt.h> #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; |