From 91b8fb9e9aae067834e702370b311c69a05e1df9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 31 Jan 2008 14:14:27 +0000 Subject: 2008-01-31 Joel Sherrill * 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. --- cpukit/rtems/include/rtems/rtems/object.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'cpukit/rtems/include') diff --git a/cpukit/rtems/include/rtems/rtems/object.h b/cpukit/rtems/include/rtems/rtems/object.h index 6bcab81e8c..bb989df22c 100644 --- a/cpukit/rtems/include/rtems/rtems/object.h +++ b/cpukit/rtems/include/rtems/rtems/object.h @@ -20,6 +20,7 @@ extern "C" { #endif +#include #include #include #include @@ -287,26 +288,26 @@ const char *rtems_object_get_api_name( * This method returns a string containing the name of the * @a class from the specified @a api. * - * @param[in] api is the API for the class - * @param[in] class is the class to obtain the name of + * @param[in] the_api is the API for the class + * @param[in] the_class is the class to obtain the name of * * @return If successful, this method returns the name of * the specified @a class. Otherwise, it returns * the string "BAD CLASS" */ const char *rtems_object_get_api_class_name( - uint32_t api, - uint32_t class + uint32_t the_api, + uint32_t the_class ); /** * @brief Get Class Name * * This method returns a string containing the name of the - * @a class from the specified @a api. + * @a the_class from the specified @a api. * - * @param[in] api is the API for the class - * @param[in] class is the class to obtain information about + * @param[in] the_api is the API for the class + * @param[in] the_class is the class to obtain information about * @param[in] info points to the information structure to fill in * * @return If successful, this method returns the name of @@ -315,8 +316,8 @@ const char *rtems_object_get_api_class_name( * */ rtems_status_code rtems_object_get_class_information( - uint32_t api, - uint32_t class, + uint32_t the_api, + uint32_t the_class, rtems_object_api_class_information *info ); -- cgit v1.2.3