Ignore:
Timestamp:
Sep 18, 2008, 3:01:49 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.9
Children:
0a37142
Parents:
10019892
Message:

Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/no_cpu/rtems/score/types.h

    r10019892 rd0279f6e  
    3636typedef uint16_t Priority_Bit_map_control;
    3737
    38 /** This defines the type for a Boolean value, */
    39 typedef bool boolean;     /* Boolean value   */
    40 
    41 /** This defines the type for a single precision float. */
    42 typedef float          single_precision;
    43 /** This defines the type for a double precision float. */
    44 typedef double         double_precision;
    45 
    4638/** This defines the return type for an ISR entry point. */
    4739typedef void no_cpu_isr;
     
    4941/** This defines the prototype for an ISR entry point. */
    5042typedef no_cpu_isr ( *no_cpu_isr_entry )( void );
     43
     44#ifdef RTEMS_DEPRECATED_TYPES
     45typedef bool    boolean;                /* Boolean value   */
     46typedef float   single_precision;       /* single precision float */
     47typedef double  double_precision;       /* double precision float */
     48#endif
    5149
    5250#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.