summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-31 14:14:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-31 14:14:27 +0000
commit91b8fb9e9aae067834e702370b311c69a05e1df9 (patch)
tree09388c57f8f0e6020c97782a9be7078e7fc6869a /cpukit/score
parent2008-01-30 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-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')
-rw-r--r--cpukit/score/include/rtems/score/object.h8
-rw-r--r--cpukit/score/src/objectgetinfo.c10
2 files changed, 9 insertions, 9 deletions
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index aa3218adc0..7ea986c6ec 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -803,15 +803,15 @@ Objects_Control *_Objects_Get_next(
* an the API and Class. This can be done independent of
* the existence of any objects created by the API.
*
- * @param[in] api indicates the API for the information we want
- * @param[in] class indicates the Class for the information we want
+ * @param[in] the_api indicates the API for the information we want
+ * @param[in] the_class indicates the Class for the information we want
*
* @return This method returns a pointer to the Object Information Table
* for the class of objects which corresponds to this object ID.
*/
Objects_Information *_Objects_Get_information(
- Objects_APIs api,
- uint32_t class
+ Objects_APIs the_api,
+ uint32_t the_class
);
/**
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;