Changeset c52568d in rtems


Ignore:
Timestamp:
Oct 16, 2015, 6:17:52 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f97536d
Parents:
a3ba5b37
git-author:
Sebastian Huber <sebastian.huber@…> (10/16/15 06:17:52)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/26/15 08:13:19)
Message:

basdefs.h: Add and use RTEMS_DEPRECATED

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • c/src/librtems++/include/rtems++/rtemsTask.h

    ra3ba5b37 rc52568d  
    128128  // notepad control
    129129  const rtems_status_code get_note(const uint32_t notepad,
    130                                    uint32_t& note) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     130                                   uint32_t& note) RTEMS_DEPRECATED;
    131131  const rtems_status_code set_note(const uint32_t notepad,
    132                                    const uint32_t note) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     132                                   const uint32_t note) RTEMS_DEPRECATED;
    133133
    134134  // object id, and name
  • cpukit/libblock/include/rtems/ide_part_table.h

    ra3ba5b37 rc52568d  
    168168void rtems_ide_part_table_free(
    169169  rtems_disk_desc_t *disk_desc
    170 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     170) RTEMS_DEPRECATED;
    171171
    172172
     
    189189  const char *dev_name,
    190190  rtems_disk_desc_t *disk_desc
    191 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     191) RTEMS_DEPRECATED;
    192192
    193193
     
    207207rtems_status_code rtems_ide_part_table_initialize(
    208208  const char *dev_name
    209 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     209) RTEMS_DEPRECATED;
    210210
    211211#ifdef __cplusplus
  • cpukit/rtems/include/rtems/rtems/clock.h

    ra3ba5b37 rc52568d  
    9292  rtems_clock_get_options  option,
    9393  void                    *time_buffer
    94 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     94) RTEMS_DEPRECATED;
    9595
    9696/**
  • cpukit/rtems/include/rtems/rtems/tasks.h

    ra3ba5b37 rc52568d  
    288288  uint32_t    notepad,
    289289  uint32_t   *note
    290 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     290) RTEMS_DEPRECATED;
    291291
    292292/**
     
    311311  uint32_t   notepad,
    312312  uint32_t   note
    313 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     313) RTEMS_DEPRECATED;
    314314
    315315/**
     
    473473  void    **ptr,
    474474  void    (*dtor)(void *)
    475 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     475) RTEMS_DEPRECATED;
    476476
    477477/**
     
    488488  void **ptr,
    489489  void **result
    490 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     490) RTEMS_DEPRECATED;
    491491
    492492/**
     
    502502  rtems_id  tid,
    503503  void    **ptr
    504 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     504) RTEMS_DEPRECATED;
    505505#endif
    506506
     
    679679   *  @note MUST BE LAST ENTRY.
    680680   */
    681   uint32_t Notepads[ RTEMS_ZERO_LENGTH_ARRAY ] RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     681  uint32_t Notepads[ RTEMS_ZERO_LENGTH_ARRAY ] RTEMS_DEPRECATED;
    682682}  RTEMS_API_Control;
    683683
  • cpukit/rtems/include/rtems/rtems/tasksimpl.h

    ra3ba5b37 rc52568d  
    7979  Thread_Control        *the_thread,
    8080  rtems_task_variable_t *tvp
    81 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     81) RTEMS_DEPRECATED;
    8282#endif
    8383
  • cpukit/sapi/include/confdefs.h

    ra3ba5b37 rc52568d  
    33033303    RTEMS_API_Control API_RTEMS;
    33043304    #if defined(CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS)
    3305       uint32_t Notepads[ RTEMS_NUMBER_NOTEPADS ] RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     3305      uint32_t Notepads[ RTEMS_NUMBER_NOTEPADS ] RTEMS_DEPRECATED;
    33063306    #endif
    33073307    #ifdef RTEMS_POSIX_API
  • cpukit/sapi/include/rtems/extension.h

    ra3ba5b37 rc52568d  
    3232
    3333typedef User_extensions_routine
    34   rtems_extension RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     34  rtems_extension RTEMS_DEPRECATED;
    3535
    3636/**
  • cpukit/sapi/include/rtems/io.h

    ra3ba5b37 rc52568d  
    249249    const char           *name,
    250250    rtems_driver_name_t  *device_info
    251 ) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     251) RTEMS_DEPRECATED;
    252252
    253253extern const size_t _IO_Number_of_drivers;
  • cpukit/score/include/rtems/score/basedefs.h

    ra3ba5b37 rc52568d  
    185185 */
    186186#ifdef __GNUC__
    187   #define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE \
    188      __attribute__ ((deprecated))
    189 #else
    190   #define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE
    191 #endif
     187  #define RTEMS_DEPRECATED __attribute__((__deprecated__))
     188#else
     189  #define RTEMS_DEPRECATED
     190#endif
     191
     192/* Provided for backward compatibility */
     193#define RTEMS_COMPILER_DEPRECATED_ATTRIBUTE RTEMS_DEPRECATED
    192194
    193195/**
  • cpukit/score/include/rtems/score/userext.h

    ra3ba5b37 rc52568d  
    2727#endif
    2828
    29 typedef void User_extensions_routine RTEMS_COMPILER_DEPRECATED_ATTRIBUTE;
     29typedef void User_extensions_routine RTEMS_DEPRECATED;
    3030
    3131/**
Note: See TracChangeset for help on using the changeset viewer.