Ignore:
Timestamp:
Dec 1, 2000, 7:16:52 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
76c0bbbb
Parents:
7afbca0
Message:

2000-12-01 Joel Sherrill <joel@…>

  • macros/rtems/score/coresem.inl: Removed comments since convention calls for comments to be in inline versin.
  • macros/rtems/score/object.inl (Objects_Get_local_object): Fixed style to use _ prefix on variable names and use parentheses.
  • macros/rtems/score/object.inl (_Objects_Namespace_remove): Added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/macros/rtems/score/object.inl

    r7afbca0 rc9fd602  
    9797 */
    9898
    99 #define _Objects_Get_local_object( information, index ) \
    100   ( ( index > information->maximum) ?  NULL : \
    101                        information->local_table[ index ] )
     99#define _Objects_Get_local_object( _information, _index ) \
     100  ( ( (_index) > (_information)->maximum) ?  NULL : \
     101                       (_information)->local_table[ (_index) ] )
    102102
    103103/*PAGE
     
    162162  }
    163163
     164/*PAGE
     165 *
     166 *  _Objects_Namespace_remove
     167 */
     168
     169#define _Objects_Namespace_remove( _information, _the_object ) \
     170  _Objects_Clear_name( (_the_object)->name, (_information)->name_length )
     171
    164172#endif
    165173/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.