diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-31 14:14:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-31 14:14:27 +0000 |
commit | 91b8fb9e9aae067834e702370b311c69a05e1df9 (patch) | |
tree | 09388c57f8f0e6020c97782a9be7078e7fc6869a /cpukit/score/src/objectgetinfo.c | |
parent | 2008-01-30 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-91b8fb9e9aae067834e702370b311c69a05e1df9.tar.bz2 |
2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/object.h, score/src/objectgetinfo.c,
rtems/include/rtems/rtems/object.h,
rtems/src/rtemsobjectgetapiclassname.c,
rtems/src/rtemsobjectgetclassinfo.c: class is a C++ keyword and
cannot be used as a parameter.
Diffstat (limited to 'cpukit/score/src/objectgetinfo.c')
-rw-r--r-- | cpukit/score/src/objectgetinfo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/src/objectgetinfo.c b/cpukit/score/src/objectgetinfo.c index 4deb7b995e..8697c227e6 100644 --- a/cpukit/score/src/objectgetinfo.c +++ b/cpukit/score/src/objectgetinfo.c @@ -19,19 +19,19 @@ #include <rtems/score/wkspace.h> Objects_Information *_Objects_Get_information( - Objects_APIs api, - uint32_t class + Objects_APIs the_api, + uint32_t the_class ) { Objects_Information *info; - if ( !_Objects_Is_api_valid( api ) ) + if ( !_Objects_Is_api_valid( the_api ) ) return NULL; - if ( !class || class > _Objects_API_maximum_class(api) ) + if ( !the_class || the_class > _Objects_API_maximum_class(the_api) ) return NULL; - info = _Objects_Information_table[ api ][ class ]; + info = _Objects_Information_table[ the_api ][ the_class ]; if ( !info ) return NULL; |