diff options
Diffstat (limited to 'c/src/exec/score/macros/rtems/score/object.inl')
-rw-r--r-- | c/src/exec/score/macros/rtems/score/object.inl | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/c/src/exec/score/macros/rtems/score/object.inl b/c/src/exec/score/macros/rtems/score/object.inl index d303535489..bb0070f269 100644 --- a/c/src/exec/score/macros/rtems/score/object.inl +++ b/c/src/exec/score/macros/rtems/score/object.inl @@ -96,9 +96,9 @@ * */ -#define _Objects_Get_local_object( information, index ) \ - ( ( index > information->maximum) ? NULL : \ - information->local_table[ index ] ) +#define _Objects_Get_local_object( _information, _index ) \ + ( ( (_index) > (_information)->maximum) ? NULL : \ + (_information)->local_table[ (_index) ] ) /*PAGE * @@ -161,5 +161,13 @@ _Objects_Clear_name( (_the_object)->name, (_information)->name_length ); \ } +/*PAGE + * + * _Objects_Namespace_remove + */ + +#define _Objects_Namespace_remove( _information, _the_object ) \ + _Objects_Clear_name( (_the_object)->name, (_information)->name_length ) + #endif /* end of include file */ |